MCPcopy
hub / github.com/darkreader/darkreader / get

Method get

src/background/devtools.ts:13–13  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

11// TODO(bershanskiy): Popup UI heeds only hasCustom*Fixes() and nothing else. Consider storing that data separately.
12interface DevToolsStorage {
13 get(key: string): Promise<string | null>;
14 set(key: string, value: string): Promise<void> | void;
15 remove(key: string): Promise<void> | void;
16 has(key: string): Promise<boolean> | boolean;

Callers 15

parseURLFunction · 0.65
isInListOptimizedFunction · 0.65
indexURLTemplateListFunction · 0.65
matchHostFunction · 0.65
matchPathFunction · 0.65
cachedFactoryFunction · 0.65
getOKResponseFunction · 0.65
loadStateInternalMethod · 0.65
parseColorWithCacheFunction · 0.65
parseToHSLWithCacheFunction · 0.65
getColorByNameFunction · 0.65
getSystemColorFunction · 0.65

Implementers 2

PersistentStorageWrappersrc/background/devtools.ts
TempStoragesrc/background/devtools.ts

Calls

no outgoing calls

Tested by

no test coverage detected