MCPcopy
hub / github.com/darkreader/darkreader / set

Method set

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

Source from the content-addressed store, hash-verified

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;
17}

Callers 15

parseURLFunction · 0.65
isInListOptimizedFunction · 0.65
indexURLTemplateListFunction · 0.65
cachedFactoryFunction · 0.65
saveStateInternalMethod · 0.65
parseColorWithCacheFunction · 0.65
parseToHSLWithCacheFunction · 0.65
writeImageDetailsCacheFunction · 0.65
readImageDetailsCacheFunction · 0.65
bgFetchFunction · 0.65
getURLModifierFunction · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected