mutapath.MutaPath.samefile

MutaPath.samefile(other)[source]

Test whether two pathnames reference the same actual file or directory

This is determined by the device number and i-node number and raises an exception if an os.stat() call on either pathname fails.