MCPcopy
hub / github.com/pytest-dev/pytest / lstat

Method lstat

src/_pytest/_py/path.py:978–980  ·  view source on GitHub ↗

Return an os.lstat() tuple.

(self)

Source from the content-addressed store, hash-verified

976 return None
977
978 def lstat(self) -> Stat:
979 """Return an os.lstat() tuple."""
980 return Stat(self, error.checked_call(os.lstat, self.strpath))
981
982 def setmtime(self, mtime=None):
983 """Set modification time for the given path. if 'mtime' is None

Callers 5

samefile_nofollowFunction · 0.80
_statMethod · 0.80
linkMethod · 0.80
islinkMethod · 0.80
get_mtimeMethod · 0.80

Calls 2

StatClass · 0.85
checked_callMethod · 0.80

Tested by

no test coverage detected