We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It would be good if the "file" URI scheme was supported as defined in: https://datatracker.ietf.org/doc/html/rfc8089
More specifically I was trying to use the "file" URI with mkpath which did not work as expected:
mkpath
julia> using FilePaths, URIs julia> using FilePathsBase: / julia> uri = URI(cwd() / p"test/runtests.jl") URI("file:///private/tmp/demo/test/runtests.jl") julia> p = Path(string(uri)) p"file:/private/tmp/demo/test/runtests.jl" julia> mkpath(dirname(p)) p"file:/private/tmp/demo/test" julia> readdir(cwd()) 1-element Vector{String}: "file:" julia> collect(walkdir(cwd())) 6-element Vector{Tuple{String, Vector{String}, Vector{String}}}: ("/private/tmp/demo", ["file:"], []) ("/private/tmp/demo/file:", ["private"], []) ("/private/tmp/demo/file:/private", ["tmp"], []) ("/private/tmp/demo/file:/private/tmp", ["demo"], []) ("/private/tmp/demo/file:/private/tmp/demo", ["test"], []) ("/private/tmp/demo/file:/private/tmp/demo/test", [], [])
The text was updated successfully, but these errors were encountered:
That doesn't work in base Julia either though. I think that should probably be a different path type.
Sorry, something went wrong.
No branches or pull requests
It would be good if the "file" URI scheme was supported as defined in: https://datatracker.ietf.org/doc/html/rfc8089
More specifically I was trying to use the "file" URI with
mkpath
which did not work as expected:The text was updated successfully, but these errors were encountered: