relativize
Get a relative path between this relative path and another relative path.
The relative path is created by replacing each name in the common prefix of the two relative paths with ..
in the other relative path, so that for two normalized relative paths p
and q
, p.resolve(p.relativize(q)).normalize() == q
.
Return
a relative path between this relative path and the other relative path
Parameters
other
the other relative path