ID EN
Pathlib

lstat

Python 3.11

Like Path.stat() but, if the path points to a symbolic link, return the symbolic link’s information rather than its target’s.

Syntax

PYTHON
Path.lstat()

See Also

Path.stat()