Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
42
function
ctxDir(dir: string, worktree: string): PlugCtx {
43
return
{
44
vcs:
"none"
,
45
worktree,
46
directory: dir,
47
}
48
}
49
50
function
ctxRoot(dir: string): PlugCtx {
51
return
{
Callers
1
install.test.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected