MCPcopy
hub / github.com/pex-tool/pex / extract_perms

Function extract_perms

tests/test_common.py:56–58  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

54
55
56def extract_perms(path):
57 # type: (str) -> str
58 return oct(os.stat(path).st_mode)
59
60
61@contextlib.contextmanager

Callers 2

zip_fixtureFunction · 0.85
assert_chroot_permsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected