Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
373
export
function
isLocalFile(url: string): boolean {
374
return
Boolean(url) && url.startsWith(
'file:///'
);
375
}
376
377
interface
URLTrieNode<T = any> {
378
key: string;
Callers
4
getSiteToggleMessage
Function · 0.90
Header
Function · 0.90
SiteToggleGroup
Function · 0.90
isURLEnabled
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected