MCPcopy Create free account
hub / github.com/anomalyco/opencode / json

Function json

packages/opencode/test/server/project-copy.test.ts:38–40  ·  view source on GitHub ↗
(response: HttpClientResponse.HttpClientResponse)

Source from the content-addressed store, hash-verified

36}
37
38function json<T>(response: HttpClientResponse.HttpClientResponse) {
39 return response.json.pipe(Effect.map((value) => value as T))
40}
41
42describe("project directories and copies endpoints", () => {
43 type ProjectDirectory = { directory: string; strategy?: string }

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected