Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
50
function
ctxRoot(dir: string): PlugCtx {
51
return
{
52
vcs:
"git"
,
53
worktree:
"/"
,
54
directory: dir,
55
}
56
}
57
58
async
function
plugin(
59
dir: string,
Callers
1
install.test.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected