MCPcopy Index your code
hub / github.com/python/cpython / _file_id

Method _file_id

Lib/pathlib/__init__.py:728–731  ·  view source on GitHub ↗

Returns the identifier of the file.

(self, *, follow_symlinks=True)

Source from the content-addressed store, hash-verified

726 return S_IMODE(self._stat(follow_symlinks=follow_symlinks).st_mode)
727
728 def _file_id(self, *, follow_symlinks=True):
729 """Returns the identifier of the file."""
730 st = self._stat(follow_symlinks=follow_symlinks)
731 return st.st_dev, st.st_ino
732
733 def _access_time_ns(self, *, follow_symlinks=True):
734 """Return the access time in nanoseconds."""

Callers

nothing calls this directly

Calls 1

_statMethod · 0.95

Tested by

no test coverage detected