mutapath.MutaPath.relative_to

MutaPath.relative_to(*other)[source]

Return the relative path to another path identified by the passed arguments. If the operation is not possible (because this is not a subpath of the other path), raise ValueError.