MCPcopy Create free account
hub / github.com/garrytan/gstack / gitRun

Function gitRun

test/skill-e2e.test.ts:3270–3271  ·  view source on GitHub ↗
(args: string[], cwd: string)

Source from the content-addressed store, hash-verified

3268describeIfSelected('Ship idempotency', ['ship-idempotency'], () => {
3269 let idempDir: string;
3270 const gitRun = (args: string[], cwd: string) =>
3271 spawnSync('git', args, { cwd, stdio: 'pipe', timeout: 5000 });
3272
3273 beforeAll(() => {
3274 idempDir = fs.mkdtempSync(path.join(os.tmpdir(), 'skill-e2e-ship-idemp-'));

Callers 1

skill-e2e.test.tsFile · 0.70

Calls 1

spawnSyncFunction · 0.85

Tested by

no test coverage detected