-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve handling of Windows paths #762
Comments
Apologies for the misleading feedback I shared. Absolute paths never came up in Flow (in practice, all paths are relative to the process's working directory) and I wasn't aware that Windows APIs don't support |
@samwgoldman not misleading at all; it was very useful to know we could ship 1.0 like that. I just tagged you in case you objected to a change of direction, but I think it won't affect you either way. |
Various thoughts, partly following up a chat with @patricoferris last week: it sounds as though it's worth separating what EIO needs internally from paths vs what the EIO user sees/provides. From that:
|
Indeed, and Eio doesn't actually require this anyway. The directory
I don't quite understand this. Does this mean that Windows doesn't allow quotes in names, but will ignore them if given? |
In #124, @samwgoldman said:
However, Eio also needs to support absolute paths on Windows and it seems this doesn't work (see https://discuss.ocaml.org/t/how-to-specify-a-full-windows-path-in-eio/14880). It would be good to investigate why.
@dra27 commented:
As mentioned in the original issue:
I think we should give up on a uniform representation of paths and instead move some operations (e.g.
split
) toFs.Pi.DIR
, so that each file-system can provide its own implementation.The text was updated successfully, but these errors were encountered: