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

Function ctxDir

packages/opencode/test/plugin/install.test.ts:42–48  ·  view source on GitHub ↗
(dir: string, worktree: string)

Source from the content-addressed store, hash-verified

40}
41
42function ctxDir(dir: string, worktree: string): PlugCtx {
43 return {
44 vcs: "none",
45 worktree,
46 directory: dir,
47 }
48}
49
50function ctxRoot(dir: string): PlugCtx {
51 return {

Callers 1

install.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected