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

Function git

__tests__/worktree-detection.test.ts:30–32  ·  view source on GitHub ↗
(cwd: string, ...args: string[])

Source from the content-addressed store, hash-verified

28import { ToolHandler } from '../src/mcp/tools';
29
30function git(cwd: string, ...args: string[]): void {
31 execFileSync('git', args, { cwd, stdio: ['ignore', 'ignore', 'ignore'] });
32}
33
34/** realpath so macOS /var → /private/var symlinking doesn't break equality. */
35function real(p: string): string {

Callers 3

addSubmoduleFunction · 0.70
addBareGitlinkFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected