MCPcopy
hub / github.com/pytest-dev/pytest / getgroupid

Function getgroupid

src/_pytest/_py/path.py:257–262  ·  view source on GitHub ↗
(group)

Source from the content-addressed store, hash-verified

255
256
257def getgroupid(group):
258 import grp
259
260 if not isinstance(group, int):
261 group = grp.getgrnam(group)[2] # type:ignore[attr-defined,unused-ignore]
262 return group
263
264
265class LocalPath:

Callers 1

chownMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected