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

Function initRepo

__tests__/local-only-gitignore.test.ts:72–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70 }
71
72 function initRepo(): void {
73 git('init', '-q');
74 git('add', 'a.ts');
75 git('commit', '-qm', 'baseline');
76 }
77
78 function codegraph(...args: string[]): { code: number | null; output: string } {
79 const run = spawnSync(process.execPath, [BIN, ...args], {

Callers 1

Calls 1

gitFunction · 0.70

Tested by

no test coverage detected