Closed brunoarine closed 1 year ago
pathlib.Path.relative_to() requires self to be the subpath of the argument, otherwise it throws an exception. os.path.relpath() doesn't have this requirement.
pathlib.Path.relative_to()
self
os.path.relpath()
Issue spotted in #9.
pathlib.Path.relative_to()
requiresself
to be the subpath of the argument, otherwise it throws an exception.os.path.relpath()
doesn't have this requirement.Issue spotted in #9.