MCPcopy
hub / github.com/di-sukharev/opencommit / isDoubleDot

Function isDoubleDot

out/cli.cjs:3626–3629  ·  view source on GitHub ↗
(buffer)

Source from the content-addressed store, hash-verified

3624 return buffer === "." || buffer.toLowerCase() === "%2e";
3625 }
3626 function isDoubleDot(buffer) {
3627 buffer = buffer.toLowerCase();
3628 return buffer === ".." || buffer === "%2e." || buffer === ".%2e" || buffer === "%2e%2e";
3629 }
3630 function isWindowsDriveLetterCodePoints(cp1, cp2) {
3631 return infra.isASCIIAlpha(cp1) && (cp2 === p4(":") || cp2 === p4("|"));
3632 }

Calls 1

toLowerCaseMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…