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

Function chmodExecutable

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

Source from the content-addressed store, hash-verified

110}
111
112function chmodExecutable(file: string): void {
113 try {
114 fs.chmodSync(file, 0o755);
115 } catch {
116 /* chmod is a no-op / unsupported on some platforms (e.g. Windows) */
117 }
118}
119
120/**
121 * 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