MCPcopy
hub / github.com/colbymchenry/codegraph / git

Function git

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

Source from the content-addressed store, hash-verified

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

Callers 3

addSubmoduleFunction · 0.70
addBareGitlinkFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected