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

Function git

__tests__/status-sparse-checkout.test.ts:35–36  ·  view source on GitHub ↗
(...args: string[])

Source from the content-addressed store, hash-verified

33 let cg: CodeGraph | undefined;
34
35 const git = (...args: string[]) =>
36 cp.execFileSync('git', args, { cwd: project, encoding: 'utf8', stdio: ['pipe', 'pipe', 'pipe'] }) as string;
37 const write = (rel: string, body = `export class ${path.basename(rel, '.ts')} {}\n`) => {
38 fs.mkdirSync(path.dirname(path.join(project, rel)), { recursive: true });
39 fs.writeFileSync(path.join(project, rel), body);

Callers 2

gitSeesNothingFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected