MCPcopy 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
252export function getScriptsByIdsOrAll(ids) {
253 return ids?.map(getScriptById) ?? [...aliveScripts, ...removedScripts];
254}
255
256/** @return {?VMScript} */
257export function getScript({ id, uri, meta, removed }) {

Callers 3

getDataFunction · 0.85
getSizesFunction · 0.85
vacuumFunction · 0.85

Calls 1

mapMethod · 0.80

Tested by

no test coverage detected