MCPcopy
hub / github.com/rohitg00/agentmemory / push

Function push

src/mcp/transport.ts:213–217  ·  view source on GitHub ↗
(chunk)

Source from the content-addressed store, hash-verified

211
212 return {
213 push(chunk) {
214 const bytes = Buffer.isBuffer(chunk) ? chunk : Buffer.from(chunk, "utf8");
215 buffer = Buffer.concat([buffer, bytes]);
216 processBuffer();
217 },
218 isFramed() {
219 return framed;
220 },

Callers

nothing calls this directly

Calls 1

processBufferFunction · 0.85

Tested by

no test coverage detected