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