MCPcopy
hub / github.com/di-sukharev/opencommit / read

Function read

out/cli.cjs:26103–26109  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26101 let buffersLength = 0;
26102 const buffers = [];
26103 function read() {
26104 const b7 = socket.read();
26105 if (b7)
26106 ondata(b7);
26107 else
26108 socket.once("readable", read);
26109 }
26110 function cleanup() {
26111 socket.removeListener("end", onend);
26112 socket.removeListener("error", onerror);

Callers 3

ondataFunction · 0.85
parseProxyResponse2Function · 0.85
parseProxyResponseFunction · 0.85

Calls 4

ondataFunction · 0.85
readMethod · 0.45
onceMethod · 0.45
matchMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…