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

Function onComplete

out/cli.cjs:60770–60776  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60768 onData(chunk) {
60769 if (fetchParams.controller.dump) {
60770 return;
60771 }
60772 const bytes = chunk;
60773 timingInfo.encodedBodySize += bytes.byteLength;
60774 return this.body.push(bytes);
60775 },
60776 onComplete() {
60777 if (this.abort) {
60778 fetchParams.controller.off("terminated", this.abort);
60779 }

Callers

nothing calls this directly

Calls 2

offMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…