Closed
Description
Path::relative_from
removes the common prefix from a path, e.g. /foo/bar
relative_from /foo
yields bar
.
The old path_relative_from
would calculate the relative path from two points on the file system, e.g. the relative path from /foo/bar
to /foo/baz/qux
is ../baz/qux
. This is a useful operation.
Nominating because I think either relative_from
is named wrong or is not useful.