MCPcopy
hub / github.com/anomalyco/opencode / git

Function git

packages/opencode/test/fixture/fixture.ts:140–141  ·  view source on GitHub ↗
(...args: string[])

Source from the content-addressed store, hash-verified

138 )
139
140 const git = (...args: string[]) =>
141 spawner.spawn(ChildProcess.make("git", args, { cwd: dir })).pipe(Effect.flatMap((handle) => handle.exitCode))
142
143 if (options?.git) {
144 yield* git("init")

Callers 7

tmpdirScopedFunction · 0.70
worktree.test.tsFile · 0.50
vcs.test.tsFile · 0.50
project.tsFile · 0.50
index.tsFile · 0.50
stopFsmonitorFunction · 0.50
index.tsFile · 0.50

Calls 2

spawnMethod · 0.80
makeMethod · 0.45

Tested by

no test coverage detected