MCPcopy Index your code
hub / github.com/anomalyco/opencode / gitStatus

Function gitStatus

packages/opencode/src/cli/cmd/github.handler.ts:462–462  ·  view source on GitHub ↗
(args: string[])

Source from the content-addressed store, hash-verified

460 return result
461 }
462 const gitStatus = (args: string[]) => Effect.runPromise(gitSvc.run(args, { cwd: ctx.worktree }))
463 const commitChanges = async (summary: string, actor?: string) => {
464 const args = ["commit", "-m", summary]
465 if (actor) args.push("-m", `Co-authored-by: ${actor} <${actor}@users.noreply.github.com>`)

Callers 3

configureGitFunction · 0.85
branchIsDirtyFunction · 0.85
hasNewCommitsFunction · 0.85

Calls 1

runMethod · 0.45

Tested by

no test coverage detected