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

Function json

packages/opencode/test/server/worktree-endpoint-repro.test.ts:53–55  ·  view source on GitHub ↗
(response: Response)

Source from the content-addressed store, hash-verified

51}
52
53function json<T>(response: Response) {
54 return Effect.promise(() => response.json() as Promise<T>)
55}
56
57function readyWatcher() {
58 return Effect.gen(function* () {

Callers 3

removeCreatedWorktreeFunction · 0.70
createWorktreeScopedFunction · 0.70
setProjectStartCommandFunction · 0.70

Calls 1

jsonMethod · 0.65

Tested by

no test coverage detected