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
I have a ../fooRelativePathBuf and a /barstd::PathBuf. I'd like to be able to get /foo out of it, without calling Path::canonicalize (which is a failable syscall). Perhaps adding a to_path_normalized with this semantics would work?
The text was updated successfully, but these errors were encountered:
udoprog
changed the title
Add to_path_normlized
Add to_path_normalizedAug 28, 2018
This would require implementing a version of relative_traversal that works with a mix of path::Component and relative_path::Component over a PathBuf instance.
Anyone who is interested in normalization might also want to go and shout in rust-lang/rust#47402 since that would supersede the need to do it in this crate.
I have a
../foo
RelativePathBuf
and a/bar
std::PathBuf
. I'd like to be able to get/foo
out of it, without callingPath::canonicalize
(which is a failable syscall). Perhaps adding ato_path_normalized
with this semantics would work?The text was updated successfully, but these errors were encountered: