MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / executable

Function executable

tests/coverage_live_v2_admin.py:11–15  ·  view source on GitHub ↗
(path, body)

Source from the content-addressed store, hash-verified

9
10
11def executable(path, body):
12 require(not any(char.isspace() for char in sys.executable), "test Python shebang path contains whitespace")
13 path.write_text("#!" + sys.executable + "\n" + body, encoding="utf-8")
14 path.chmod(0o700)
15 return path
16
17
18def untouched_runner(case):

Callers 2

untouched_runnerFunction · 0.85
converter_errorsFunction · 0.85

Calls 1

requireFunction · 0.90

Tested by

no test coverage detected