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

Method _posix_permissions

Lib/pathlib/_os.py:358–360  ·  view source on GitHub ↗

Return the POSIX file permissions.

(self, *, follow_symlinks=True)

Source from the content-addressed store, hash-verified

356 return self._lstat_result
357
358 def _posix_permissions(self, *, follow_symlinks=True):
359 """Return the POSIX file permissions."""
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."""

Callers 1

copy_infoFunction · 0.80

Calls 2

_statMethod · 0.95
S_IMODEFunction · 0.90

Tested by

no test coverage detected