MCPcopy
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
81function ok(file: string) {
82 return meta(file)?.deny !== true
83}
84
85function rooted(file: string) {
86 return path.isAbsolute(FSUtil.windowsPath(file))

Callers 2

selectFunction · 0.70
infoFunction · 0.70

Calls 1

metaFunction · 0.70

Tested by

no test coverage detected