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

Function S_IMODE

tools/python-3.11.9-amd64/Lib/stat.py:21–25  ·  view source on GitHub ↗

Return the portion of the file's mode that can be set by os.chmod().

(mode)

Source from the content-addressed store, hash-verified

19# Extract bits from the mode
20
21def S_IMODE(mode):
22 """Return the portion of the file's mode that can be set by
23 os.chmod().
24 """
25 return mode & 0o7777
26
27def S_IFMT(mode):
28 """Return the portion of the file's mode that describes the

Callers 5

copy_fileFunction · 0.90
copy_fileFunction · 0.90
mkrealfileFunction · 0.85
mkrealdirFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected