MCPcopy
hub / github.com/openai/codex-plugin-cc / writeExecutable

Function writeExecutable

tests/helpers.mjs:11–13  ·  view source on GitHub ↗
(filePath, source)

Source from the content-addressed store, hash-verified

9}
10
11export function writeExecutable(filePath, source) {
12 fs.writeFileSync(filePath, source, { encoding: "utf8", mode: 0o755 });
13}
14
15export function run(command, args, options = {}) {
16 return spawnSync(command, args, {

Callers 1

installFakeCodexFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected