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

Method times

github-actions/bazel/configure-remote/configure-remote.js:11220–11226  ·  view source on GitHub ↗

* Allow one to define a reply for a set amount of matching requests.

(repeatTimes)

Source from the content-addressed store, hash-verified

11218 if (Array.isArray(value)) {
11219 for (let j = 0; j < value.length; ++j) {
11220 result.push(name, Buffer.from(`${value[j]}`));
11221 }
11222 } else {
11223 result.push(name, Buffer.from(`${value}`));
11224 }
11225 }
11226 return result;
11227 }
11228 function getStatusText(statusCode) {
11229 return STATUS_CODES[statusCode] || "unknown";

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected