MCPcopy
hub / github.com/microsoft/vscode-js-debug / comparePathsWithoutCasing

Function comparePathsWithoutCasing

src/common/urlUtils.ts:45–47  ·  view source on GitHub ↗
(a: string, b: string)

Source from the content-addressed store, hash-verified

43 * Compares the paths, case-insensitively based on the platform.
44 */
45export function comparePathsWithoutCasing(a: string, b: string) {
46 return isCaseSensitive ? a === b : a.toLowerCase() === b.toLowerCase();
47}
48
49/**
50 * Compares the paths, case-insensitively based on the platform, and

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected