traveler.tools.tar_zst.Path.relative_to#
- Path.relative_to(other, /, *_deprecated, walk_up=False)#
Return the relative path to another path identified by the passed arguments. If the operation is not possible (because this is not related to the other path), raise ValueError.
The walk_up parameter controls whether .. may be used to resolve the path.