Function
posixpath.samefile

Signature

samefile(f1, f2)

Documentation String

Test whether two pathnames reference the same actual file