MCPcopy Create free account
hub / github.com/commandoperator/cmdop-sdk / makeExecutable

Function makeExecutable

node/src/locate.ts:116–123  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

114}
115
116function makeExecutable(path: string): void {
117 if (process.platform === "win32") return;
118 try {
119 chmodSync(path, 0o755);
120 } catch {
121 /* read-only store; the bit may already be set */
122 }
123}

Callers 1

locateBinaryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected