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

Function cloneBody

github-actions/browserstack/set-browserstack-env.js:5777–5785  ·  view source on GitHub ↗
(instance, body)

Source from the content-addressed store, hash-verified

5775 action = function() {
5776 return __asyncGenerator(this, null, function* () {
5777 for (const part of blobParts) {
5778 if (part.stream) {
5779 yield* __yieldStar(part.stream());
5780 } else {
5781 yield part;
5782 }
5783 }
5784 });
5785 };
5786 type = `multipart/form-data; boundary=${boundary}`;
5787 } else if (isBlobLike(object)) {
5788 source = object;

Callers 2

cloneResponseFunction · 0.70
cloneRequestFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected