MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / recv_exact

Function recv_exact

tests/test_daemon_smoke.py:280–288  ·  view source on GitHub ↗
(stream, length)

Source from the content-addressed store, hash-verified

278
279
280def recv_exact(stream, length):
281 chunks = []
282 remaining = length
283 while remaining:
284 chunk = stream.recv(remaining)
285 check(chunk, "daemon closed during rendezvous response")
286 chunks.append(chunk)
287 remaining -= len(chunk)
288 return b"".join(chunks)
289
290
291def probe_future_generation_rendezvous(

Callers 1

Calls 1

checkFunction · 0.70

Tested by

no test coverage detected