Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/violentmonkey/violentmonkey
/ getScriptsByIdsOrAll
Function
getScriptsByIdsOrAll
src/background/utils/db.js:252–254 ·
view source on GitHub ↗
(ids)
Source
from the content-addressed store, hash-verified
250
}
251
252
export
function
getScriptsByIdsOrAll(ids) {
253
return
ids?.map(getScriptById) ?? [...aliveScripts, ...removedScripts];
254
}
255
256
/** @
return
{?VMScript} */
257
export
function
getScript({ id, uri, meta, removed }) {
Callers
3
getData
Function · 0.85
getSizes
Function · 0.85
vacuum
Function · 0.85
Calls
1
map
Method · 0.80
Tested by
no test coverage detected