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

Method processLine

evals/buffbench/runners/opencode.ts:178–188  ·  view source on GitHub ↗
(line: string)

Source from the content-addressed store, hash-verified

176 }
177
178 const processLine = (line: string) => {
179 if (!line.trim()) {
180 return
181 }
182
183 try {
184 processEvent(JSON.parse(line))
185 } catch {
186 steps.push({ type: 'text', text: line })
187 }
188 }
189
190 child.stdout.on('data', (data: Buffer) => {
191 stdoutBuffer += data.toString()

Callers

nothing calls this directly

Calls 2

processEventFunction · 0.85
parseMethod · 0.80

Tested by

no test coverage detected