MCPcopy Create free account
hub / github.com/bugy/script-server / is_executable

Function is_executable

src/utils/file_utils.py:112–113  ·  view source on GitHub ↗
(file_path)

Source from the content-addressed store, hash-verified

110
111
112def is_executable(file_path):
113 return os.access(file_path, os.X_OK)
114
115def exists(filename, current_folder=None):
116 path = normalize_path(filename, current_folder)

Callers 4

test_new_codeMethod · 0.90
test_upload_codeMethod · 0.90

Calls

no outgoing calls

Tested by 4

test_new_codeMethod · 0.72
test_upload_codeMethod · 0.72