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

Function cleanup

out/cli.cjs:26110–26114  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26108 socket.once("readable", read);
26109 }
26110 function cleanup() {
26111 socket.removeListener("end", onend);
26112 socket.removeListener("error", onerror);
26113 socket.removeListener("readable", read);
26114 }
26115 function onend() {
26116 cleanup();
26117 debug5("onend");

Callers 3

onendFunction · 0.70
onerrorFunction · 0.70
ondataFunction · 0.70

Calls 1

removeListenerMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…