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

Function ctx

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

Source from the content-addressed store, hash-verified

32}
33
34function ctx(dir: string): PlugCtx {
35 return {
36 vcs: "git",
37 worktree: dir,
38 directory: dir,
39 }
40}
41
42function ctxDir(dir: string, worktree: string): PlugCtx {
43 return {

Callers 2

install.test.tsFile · 0.70
SessionContextTabFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected