MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / group

Method group

tools/python-3.11.9-amd64/Lib/pathlib.py:1025–1034  ·  view source on GitHub ↗

Return the group name of the file gid.

(self)

Source from the content-addressed store, hash-verified

1023 raise NotImplementedError("Path.owner() is unsupported on this system")
1024
1025 def group(self):
1026 """
1027 Return the group name of the file gid.
1028 """
1029
1030 try:
1031 import grp
1032 return grp.getgrgid(self.stat().st_gid).gr_name
1033 except ImportError:
1034 raise NotImplementedError("Path.group() is unsupported on this system")
1035
1036 def open(self, mode='r', buffering=-1, encoding=None,
1037 errors=None, newline=None):

Callers

nothing calls this directly

Calls 1

statMethod · 0.95

Tested by

no test coverage detected