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

Function processBody

out/cli.cjs:60154–60161  ·  view source on GitHub ↗
(bytes)

Source from the content-addressed store, hash-verified

60152 fetchParams.controller.dump = true;
60153 }
60154 if (request3.integrity) {
60155 const processBodyError = (reason) => fetchFinale(fetchParams, makeNetworkError(reason));
60156 if (request3.responseTainting === "opaque" || response.body == null) {
60157 processBodyError(response.error);
60158 return;
60159 }
60160 const processBody = (bytes) => {
60161 if (!bytesMatch(bytes, request3.integrity)) {
60162 processBodyError("integrity mismatch");
60163 return;
60164 }

Callers 1

fetchFinaleFunction · 0.85

Calls 4

bytesMatchFunction · 0.85
processBodyErrorFunction · 0.85
safelyExtractBodyFunction · 0.85
fetchFinaleFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…