MCPcopy Index your code
hub / github.com/pyload/pyload / isexecutable

Function isexecutable

module/plugins/internal/misc.py:735–737  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

733
734
735def isexecutable(filename):
736 file = fs_encode(filename)
737 return os.path.isfile(file) and os.access(file, os.X_OK)
738
739
740def which(filename):

Callers 2

whichFunction · 0.85
findMethod · 0.85

Calls 1

fs_encodeFunction · 0.70

Tested by

no test coverage detected