You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given that the file system is virtual, and as I understand fairly independent of the underlying system, it would seam it's possible to set a custom directory separator.
I have a usecase.
I develop an application that's supposed to work both on windows and Unix, so I need to write tests for / as separator and \ as well. In order to test it, I run two docker containers, one based on debian, one on windows.
If vfsStream supported both kinds of separators, I could test all my code without need for docker at all.
The text was updated successfully, but these errors were encountered:
There's some in-progress stuff that's blocking work on this library at the moment (a massive restructuring) so it could be a while for this to happen (see #221).
If you absolutely need this today, you may want to check out https://github.com/bizurkur/mockfs. It already supports the feature you're asking about and has a pre-built configuration to mimic a Windows OS. It's more than just the file separator that changes - the characters that are allowed in file names also change. It also supports / as the root partition for Unix-like OSes.
Given that the file system is virtual, and as I understand fairly independent of the underlying system, it would seam it's possible to set a custom directory separator.
I have a usecase.
I develop an application that's supposed to work both on windows and Unix, so I need to write tests for
/
as separator and\
as well. In order to test it, I run two docker containers, one based on debian, one on windows.If vfsStream supported both kinds of separators, I could test all my code without need for docker at all.
The text was updated successfully, but these errors were encountered: