MCPcopy Create free account
hub / github.com/angular/dev-infra / processBody

Function processBody

github-actions/saucelabs/set-saucelabs-env.js:14167–14174  ·  view source on GitHub ↗
(bytes)

Source from the content-addressed store, hash-verified

14165 return;
14166 }
14167 const processBody = (bytes) => {
14168 if (!bytesMatch(bytes, request.integrity)) {
14169 processBodyError("integrity mismatch");
14170 return;
14171 }
14172 response.body = safelyExtractBody(bytes)[0];
14173 fetchFinale(fetchParams, response);
14174 };
14175 yield fullyReadBody(response.body, processBody, processBodyError);
14176 } else {
14177 fetchFinale(fetchParams, response);

Callers

nothing calls this directly

Calls 4

bytesMatchFunction · 0.70
processBodyErrorFunction · 0.70
safelyExtractBodyFunction · 0.70
fetchFinaleFunction · 0.70

Tested by

no test coverage detected