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

Function gitInit

__tests__/git-hooks.test.ts:22–24  ·  view source on GitHub ↗
(dir: string)

Source from the content-addressed store, hash-verified

20} from '../src/sync/git-hooks';
21
22function gitInit(dir: string): void {
23 execFileSync('git', ['init', '-q'], { cwd: dir, stdio: 'ignore' });
24}
25
26function isExecutable(file: string): boolean {
27 if (process.platform === 'win32') return true; // mode bits not meaningful

Callers 1

git-hooks.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected