MCPcopy
hub / github.com/coder/mux / git

Function git

src/node/runtime/submoduleSync.test.ts:11–13  ·  view source on GitHub ↗
(cwd: string, args: string[])

Source from the content-addressed store, hash-verified

9import { syncLocalGitSubmodules, syncRuntimeGitSubmodules } from "./submoduleSync";
10
11function git(cwd: string, args: string[]): void {
12 execFileSync("git", args, { cwd, stdio: "ignore" });
13}
14
15async function initGitRepo(repoPath: string, files: Record<string, string>): Promise<void> {
16 await fs.mkdir(repoPath, { recursive: true });

Callers 2

initGitRepoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected