MCPcopy Create free account
hub / github.com/violentmonkey/violentmonkey / clearStorageCache

Function clearStorageCache

src/background/utils/storage-cache.js:39–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37*/
38export const onStorageChanged = hook;
39export const clearStorageCache = () => {
40 cache.destroy();
41 dbKeys.clear();
42};
43export const storageCacheHas = cache.has;
44
45export const cachedStorageApi = storage.api = {

Callers 1

togglePreinjectFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected