Whether the file permissions were explicitly set.
(self)
| 366 | |
| 367 | @property |
| 368 | def has_explicit_mode(self) -> bool: |
| 369 | """Whether the file permissions were explicitly set.""" |
| 370 | return self._context.mode != _UNSET_FILE_MODE |
| 371 | |
| 372 | def _open_mode(self) -> int: |
| 373 | """:returns: the mode for os.open() — 0o666 when unset (let umask/ACLs decide), else the explicit mode""" |
nothing calls this directly
no outgoing calls
no test coverage detected