Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/anomalyco/opencode
/ ok
Function
ok
packages/core/src/shell.ts:81–83 ·
view source on GitHub ↗
(file: string)
Source
from the content-addressed store, hash-verified
79
}
80
81
function
ok(file: string) {
82
return
meta(file)?.deny !== true
83
}
84
85
function
rooted(file: string) {
86
return
path.isAbsolute(FSUtil.windowsPath(file))
Callers
2
select
Function · 0.70
info
Function · 0.70
Calls
1
meta
Function · 0.70
Tested by
no test coverage detected