MCPcopy Create free account
hub / github.com/violentmonkey/violentmonkey / UpdateScriptInfo

Function UpdateScriptInfo

src/background/utils/db.js:109–115  ·  view source on GitHub ↗

@return {Promise }

({ id, config, custom })

Source from the content-addressed store, hash-verified

107 ParseScript: parseScript,
108 /** @return {Promise<void>} */
109 UpdateScriptInfo({ id, config, custom }) {
110 return updateScriptInfo(id, {
111 config,
112 custom,
113 props: { lastModified: Date.now() },
114 });
115 },
116 /** @return {Promise<number>} */
117 Vacuum: vacuum,
118});

Callers

nothing calls this directly

Calls 1

updateScriptInfoFunction · 0.85

Tested by

no test coverage detected