MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / formatCollectedOutput

Function formatCollectedOutput

sdk/src/tools/code-search.ts:161–164  ·  view source on GitHub ↗
(rawOutput: string)

Source from the content-addressed store, hash-verified

159 }
160
161 const formatCollectedOutput = (rawOutput: string) =>
162 formatCodeSearchOutput(rawOutput, {
163 matchCount: matchesGlobal,
164 })
165
166 const truncateOutput = (output: string, maxLength: number) =>
167 output.length > maxLength

Callers 1

codeSearchFunction · 0.85

Calls 1

formatCodeSearchOutputFunction · 0.90

Tested by

no test coverage detected