implement native for windows#738
Conversation
|
Hacking.md states that the cross-platform tests "are run against whichever backend Eio_main.run selects, and therefore must get the same result for all backends", so I am a bit confused about how to correctly set up the new tests, as |
|
Thanks for working on this! Currently the Windows supports forward and backward slashes in paths, and the idea is that an I have no idea what the |
|
Alright, so commenting out the line int |
I think we can definitely improve on the Windows code and file path handling ! My understanding (helped plenty after speaking with @dra27) is these are NT Object Manager paths. Windows, to the normal user, has no real notion of "root" ( In order to use lower-level system functions like |
The implementation is copied from
lib_eio_posix/fs.ml, simply replacing a forward slash.I added the test case to the windows directory since the cross-platform test has some hard-coded forward slashes.
The output of the test reads
I don't quite understand what
\??\is all about.eio/lib_eio_windows/fs.ml
Line 60 in 77d8810