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

Function getMacOsInfo

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

Source from the content-addressed store, hash-verified

20605 let arg = "";
20606 function append(c) {
20607 if (escaped && c !== '"') {
20608 arg += "\\";
20609 }
20610 arg += c;
20611 escaped = false;
20612 }
20613 for (let i = 0; i < argString.length; i++) {
20614 const c = argString.charAt(i);
20615 if (c === '"') {
20616 if (!escaped) {
20617 inQuotes = !inQuotes;
20618 } else {
20619 append(c);
20620 }
20621 continue;

Callers 1

getDetailsFunction · 0.70

Calls 3

__awaiter6Function · 0.70
getExecOutputFunction · 0.70
matchMethod · 0.45

Tested by

no test coverage detected