MCPcopy Create free account
hub / github.com/agent-tower/core / git

Function git

packages/server/src/git/worktree.manager.test.ts:8–10  ·  view source on GitHub ↗
(cwd: string, args: string[])

Source from the content-addressed store, hash-verified

6import { WorktreeManager } from './worktree.manager.js';
7
8function git(cwd: string, args: string[]): string {
9 return execFileSync('git', args, { cwd, encoding: 'utf-8', stdio: ['ignore', 'pipe', 'pipe'] });
10}
11
12function initRepo(repoPath: string) {
13 fs.mkdirSync(repoPath, { recursive: true });

Callers 2

initRepoFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected