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

Function runGit

__tests__/extraction-old-git.test.ts:39–40  ·  view source on GitHub ↗
(cwd: string, ...args: string[])

Source from the content-addressed store, hash-verified

37 let tempDir: string;
38
39 const runGit = (cwd: string, ...args: string[]) =>
40 execFileSync('git', args, { cwd, stdio: 'pipe' });
41
42 const makeRepo = (dir: string, base: string) => {
43 fs.mkdirSync(dir, { recursive: true });

Callers 2

makeRepoFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected