Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ is_executable
Function
is_executable
tools/python/maps_generator/utils/file.py:45–46 ·
view source on GitHub ↗
(fpath: AnyStr)
Source
from the content-addressed store, hash-verified
43
return
file_path
44
45
def
is_executable(fpath: AnyStr) -> bool:
46
return
fpath is not None and os.path.isfile(fpath) and os.access(fpath, os.X_OK)
47
48
49
@functools.lru_cache()
Callers
2
setup_osm_tools
Method · 0.90
find_executable
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected