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

Function comparePathsWithoutCasingOrSlashes

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

Source from the content-addressed store, hash-verified

51 * normalizing back- and forward-slashes.
52 */
53export function comparePathsWithoutCasingOrSlashes(a: string, b: string) {
54 return comparePathsWithoutCasing(forceForwardSlashes(a), forceForwardSlashes(b));
55}
56
57export function caseNormalizedMap<V>(): Map<string, V> {
58 return getCaseSensitivePaths() ? new Map() : new MapUsingProjection(lowerCaseInsensitivePath);

Callers

nothing calls this directly

Calls 2

forceForwardSlashesFunction · 0.90

Tested by

no test coverage detected