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

Function bytes

github-actions/browserstack/set-browserstack-env.js:5844–5848  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5842 });
5843 }
5844 const body = { stream, source, length };
5845 return [body, type];
5846 }
5847 function safelyExtractBody(object, keepalive = false) {
5848 if (object instanceof ReadableStream) {
5849 assert(!util.isDisturbed(object), "The body has already been consumed.");
5850 assert(!object.locked, "The stream is locked.");
5851 }

Callers

nothing calls this directly

Calls 1

consumeBodyFunction · 0.70

Tested by

no test coverage detected