Return the portion of the file's mode that can be set by os.chmod().
(mode)
| 19 | # Extract bits from the mode |
| 20 | |
| 21 | def 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 | |
| 27 | def S_IFMT(mode): |
| 28 | """Return the portion of the file's mode that describes the |
no outgoing calls
no test coverage detected
searching dependent graphs…