Closed
Description
Given:
let a = Path::new("/foo");
let b = Path::new("/bar");
I would expect that a.join(&b)
would return /foo/bar
, however it returns /bar
. Given my experience w/ path joining in Ruby and Go, I would expect that join concats two paths and does some normalization to remove double slashes, etc...
There is also a need for a fn that expands a path relative to a given location, which is what Path::join does today. In Ruby, it is named expand_path.
Metadata
Metadata
Assignees
Labels
No labels