Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/violentmonkey/violentmonkey
/ CacheLoad
Function
CacheLoad
src/background/utils/cache.js:9–11 ·
view source on GitHub ↗
(data)
Source
from the content-addressed store, hash-verified
7
8
addOwnCommands({
9
CacheLoad(data) {
10
return
cache.get(data) || null;
11
},
12
CacheHit(data) {
13
cache.hit(data.key, data.lifetime);
14
},
Callers
nothing calls this directly
Calls
1
get
Method · 0.45
Tested by
no test coverage detected