MCPcopy Index your code
hub / github.com/nodejs/node / is_file_executable

Function is_file_executable

deps/v8/tools/dump-cpp.py:18–19  ·  view source on GitHub ↗
(fPath)

Source from the content-addressed store, hash-verified

16import sys
17
18def is_file_executable(fPath):
19 return os.path.isfile(fPath) and os.access(fPath, os.X_OK)
20
21if __name__ == '__main__':
22 JS_FILES = ['dumpcpp-driver.mjs']

Callers 1

dump-cpp.pyFile · 0.85

Calls 1

accessMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…