MCPcopy
hub / github.com/cool-RR/PySnooper / owner

Method owner

tests/mini_toolbox/pathlib.py:1361–1366  ·  view source on GitHub ↗

Return the login name of the file owner.

(self)

Source from the content-addressed store, hash-verified

1359 return self._accessor.stat(self)
1360
1361 def owner(self):
1362 """
1363 Return the login name of the file owner.
1364 """
1365 import pwd
1366 return pwd.getpwuid(self.stat().st_uid).pw_name
1367
1368 def group(self):
1369 """

Callers

nothing calls this directly

Calls 1

statMethod · 0.95

Tested by

no test coverage detected