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

Function git

__tests__/git-status-optional-locks.test.ts:23–25  ·  view source on GitHub ↗
(cwd: string, args: string[], env: NodeJS.ProcessEnv = process.env)

Source from the content-addressed store, hash-verified

21import { getGitChangedFiles } from '../src/extraction/index';
22
23function git(cwd: string, args: string[], env: NodeJS.ProcessEnv = process.env): string {
24 return execFileSync('git', args, { cwd, encoding: 'utf8', stdio: ['ignore', 'pipe', 'pipe'], env });
25}
26
27/** Give a tracked file new stat info with the same content, so status has an entry to refresh. */
28function staleStatInfo(file: string, offsetSec: number): void {

Calls

no outgoing calls

Tested by

no test coverage detected