MCPcopy Index your code
hub / github.com/VectifyAI/OpenKB / _default_file_mode

Function _default_file_mode

openkb/locks.py:196–199  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

194
195
196def _default_file_mode() -> int:
197 current_umask = os.umask(0)
198 os.umask(current_umask)
199 return 0o666 & ~current_umask
200
201
202def _target_mode(path: Path) -> int:

Callers 2

_target_modeFunction · 0.85

Calls

no outgoing calls