Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/violentmonkey/violentmonkey
/ del
Function
del
src/common/cache.js:57–63 ·
view source on GitHub ↗
(key)
Source
from the content-addressed store, hash-verified
55
return
value;
56
}
57
function
del(key) {
58
const
data = cache[key];
59
if
(data) {
60
delete cache[key];
61
onDispose?.(data.value, key);
62
}
63
}
64
function
has(key) {
65
return
key in cache;
66
}
Callers
4
clean
Function · 0.85
pop
Function · 0.85
destroy
Function · 0.85
trim
Function · 0.85
Calls
1
onDispose
Function · 0.85
Tested by
no test coverage detected