Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
116
function
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
locateBinary
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected