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

Function run

packages/core/src/git.ts:954–957  ·  view source on GitHub ↗
(cwd: string, proc: AppProcess.Interface)

Source from the content-addressed store, hash-verified

952}
953
954function run(cwd: string, proc: AppProcess.Interface) {
955 return (args: string[]) =>
956 execute(cwd, proc)(args).pipe(Effect.catch(() => Effect.succeed({ exitCode: 1, text: "", stderr: "" })))
957}
958
959function execute(cwd: string, proc: AppProcess.Interface) {
960 return (args: string[]) =>

Callers 4

git.tsFile · 0.70
aisdk.tsFile · 0.70
TextShimmerFunction · 0.50
TextShimmerV2Function · 0.50

Calls 1

executeFunction · 0.70

Tested by

no test coverage detected