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

Function scrollGlobFinal

packages/opencode/src/cli/cmd/run/tool.ts:877–879  ·  view source on GitHub ↗
(p: ToolProps<typeof GlobTool>)

Source from the content-addressed store, hash-verified

875}
876
877function scrollGlobFinal(p: ToolProps<typeof GlobTool>): string {
878 return toolError(p.frame) || fail(p.frame)
879}
880
881function scrollGrepStart(p: ToolProps<typeof GrepTool>): string {
882 const pattern = p.input.pattern ?? ""

Callers

nothing calls this directly

Calls 2

toolErrorFunction · 0.70
failFunction · 0.70

Tested by

no test coverage detected