MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / compareBase64Mixed

Function compareBase64Mixed

out/cli.cjs:50822–50835  ·  view source on GitHub ↗
(actualValue, expectedValue)

Source from the content-addressed store, hash-verified

50820 for (let i3 = 0; i3 < metadataList.length; ++i3) {
50821 if (metadataList[i3].algo === algorithm) {
50822 metadataList[pos++] = metadataList[i3];
50823 }
50824 }
50825 metadataList.length = pos;
50826 return metadataList;
50827 }
50828 function compareBase64Mixed(actualValue, expectedValue) {
50829 if (actualValue.length !== expectedValue.length) {
50830 return false;
50831 }
50832 for (let i3 = 0; i3 < actualValue.length; ++i3) {
50833 if (actualValue[i3] !== expectedValue[i3]) {
50834 if (actualValue[i3] === "+" && expectedValue[i3] === "-" || actualValue[i3] === "/" && expectedValue[i3] === "_") {
50835 continue;
50836 }
50837 return false;
50838 }

Callers 1

bytesMatchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…