MCPcopy Index your code
hub / github.com/violentmonkey/violentmonkey / GetScriptVer

Function GetScriptVer

src/background/utils/db.js:47–52  ·  view source on GitHub ↗
(opts)

Source from the content-addressed store, hash-verified

45
46addPublicCommands({
47 GetScriptVer(opts) {
48 const script = getScript(opts);
49 return script
50 ? script.meta.version
51 : null;
52 },
53});
54
55addOwnCommands({

Callers

nothing calls this directly

Calls 1

getScriptFunction · 0.85

Tested by

no test coverage detected