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

Function info

packages/opencode/test/control-plane/adapters.test.ts:6–16  ·  view source on GitHub ↗
(projectID: WorkspaceInfo["projectID"], type: string)

Source from the content-addressed store, hash-verified

4import type { WorkspaceInfo } from "../../src/control-plane/types"
5
6function info(projectID: WorkspaceInfo["projectID"], type: string): WorkspaceInfo {
7 return {
8 id: "workspace-test" as WorkspaceInfo["id"],
9 type,
10 name: "workspace-test",
11 branch: null,
12 directory: null,
13 extra: null,
14 projectID,
15 }
16}
17
18function adapter(dir: string) {
19 return {

Callers 1

adapters.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected