MCPcopy 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
8addOwnCommands({
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

getMethod · 0.45

Tested by

no test coverage detected