MCPcopy Create free account
hub / github.com/anus-dev/ANUS / onData

Method onData

packages/core/src/tools/grep.ts:408–408  ·  view source on GitHub ↗
(chunk: Buffer)

Source from the content-addressed store, hash-verified

406 const stderrChunks: Buffer[] = [];
407
408 const onData = (chunk: Buffer) => stdoutChunks.push(chunk);
409 const onStderr = (chunk: Buffer) => {
410 const stderrStr = chunk.toString();
411 // Suppress common harmless stderr messages

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected