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

Function ctxRoot

packages/opencode/test/plugin/install.test.ts:50–56  ·  view source on GitHub ↗
(dir: string)

Source from the content-addressed store, hash-verified

48}
49
50function ctxRoot(dir: string): PlugCtx {
51 return {
52 vcs: "git",
53 worktree: "/",
54 directory: dir,
55 }
56}
57
58async function plugin(
59 dir: string,

Callers 1

install.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected