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

Function isLocalFile

src/utils/url.ts:373–375  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

371}
372
373export function isLocalFile(url: string): boolean {
374 return Boolean(url) && url.startsWith('file:///');
375}
376
377interface URLTrieNode<T = any> {
378 key: string;

Callers 4

getSiteToggleMessageFunction · 0.90
HeaderFunction · 0.90
SiteToggleGroupFunction · 0.90
isURLEnabledFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected