Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pex-tool/pex
/ is_writeable
Function
is_writeable
tests/test_common.py:87–89 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
85
86
87
def
is_writeable(path):
88
# type: (str) -> bool
89
return
bool(os.stat(path).st_mode & 0o222)
90
91
92
def
is_executable(path):
Callers
2
test_perm_preserving_zipfile_extractall
Function · 0.85
test_perm_preserving_zipfile_extract
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected