MCPcopy Index your code
hub / github.com/darkreader/darkreader / compareURLPatterns

Function compareURLPatterns

src/utils/url.ts:83–85  ·  view source on GitHub ↗
(a: string, b: string)

Source from the content-addressed store, hash-verified

81}
82
83export function compareURLPatterns(a: string, b: string): number {
84 return a.localeCompare(b);
85}
86
87/**
88 * Determines whether URL has a match in URL template list.

Callers 4

formatDetectorHintsFunction · 0.90
formatDynamicThemeFixesFunction · 0.90
formatStaticThemesFunction · 0.90
formatInversionFixesFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected