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

Method _destroy

github-actions/browserstack/set-browserstack-env.js:9668–9676  ·  view source on GitHub ↗
(err, callback)

Source from the content-addressed store, hash-verified

9666 const contentLengthError = validatePartialResponseContentLength(headers, range, statusCode, this.retryCount);
9667 if (contentLengthError != null) {
9668 this.abort(contentLengthError);
9669 return false;
9670 }
9671 const { start, size, end = size - 1 } = range;
9672 assert(
9673 start != null && Number.isFinite(start),
9674 "content-range mismatch"
9675 );
9676 assert(end != null && Number.isFinite(end), "invalid content-length");
9677 this.start = start;
9678 this.end = end;
9679 }

Callers

nothing calls this directly

Calls 1

_readMethod · 0.45

Tested by

no test coverage detected