MCPcopy
hub / github.com/Fission-AI/OpenSpec / git

Function git

test/cli-e2e/store-lifecycle.test.ts:54–60  ·  view source on GitHub ↗
(cwd: string, env: NodeJS.ProcessEnv, args: string[])

Source from the content-addressed store, hash-verified

52}
53
54async function git(cwd: string, env: NodeJS.ProcessEnv, args: string[]): Promise<string> {
55 const { stdout } = await execFileAsync('git', args, {
56 cwd,
57 env: { ...process.env, ...env },
58 });
59 return stdout;
60}
61
62async function snapshotDirectory(root: string): Promise<Map<string, string>> {
63 const snapshot = new Map<string, string>();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected