MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / chmodExecutable

Function chmodExecutable

src/sync/git-hooks.ts:215–221  ·  view source on GitHub ↗
(file: string)

Source from the content-addressed store, hash-verified

213}
214
215function chmodExecutable(file: string): void {
216 try {
217 fs.chmodSync(file, 0o755);
218 } catch {
219 /* chmod is a no-op / unsupported on some platforms (e.g. Windows) */
220 }
221}
222
223/**
224 * Install (or update) the CodeGraph sync hooks in a git repository.

Callers 2

installGitSyncHookFunction · 0.85
removeGitSyncHookFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected