MCPcopy Index your code
hub / github.com/RustPython/RustPython / _file_id

Method _file_id

Lib/pathlib/_os.py:362–365  ·  view source on GitHub ↗

Returns the identifier of the file.

(self, *, follow_symlinks=True)

Source from the content-addressed store, hash-verified

360 return S_IMODE(self._stat(follow_symlinks=follow_symlinks).st_mode)
361
362 def _file_id(self, *, follow_symlinks=True):
363 """Returns the identifier of the file."""
364 st = self._stat(follow_symlinks=follow_symlinks)
365 return st.st_dev, st.st_ino
366
367 def _access_time_ns(self, *, follow_symlinks=True):
368 """Return the access time in nanoseconds."""

Callers

nothing calls this directly

Calls 1

_statMethod · 0.95

Tested by

no test coverage detected