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

Function stringPercentDecode

github-actions/saucelabs/set-saucelabs-env.js:3521–3524  ·  view source on GitHub ↗
(input)

Source from the content-addressed store, hash-verified

3519 const idx = input.indexOf(char, position.position);
3520 const start = position.position;
3521 if (idx === -1) {
3522 position.position = input.length;
3523 return input.slice(start);
3524 }
3525 position.position = idx;
3526 return input.slice(start, position.position);
3527 }

Callers 1

dataURLProcessorFunction · 0.70

Calls 1

percentDecodeFunction · 0.70

Tested by

no test coverage detected