Path.lstat#

Path.lstat()#

Like stat(), except if the path points to a symlink, the symlink’s status information is returned, rather than its target’s.