Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
*/
38
export
const
onStorageChanged = hook;
39
export
const
clearStorageCache = () => {
40
cache.destroy();
41
dbKeys.clear();
42
};
43
export
const
storageCacheHas = cache.has;
44
45
export
const
cachedStorageApi = storage.api = {
Callers
1
togglePreinject
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected