MCPcopy
hub / github.com/GooseMod/OpenAsar / commitManifest

Function commitManifest

src/updater/moduleUpdater.js:271–271  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

269exports.getInstalled = () => ({ ...installed });
270
271const commitManifest = () => fs.writeFileSync(manifestPath, JSON.stringify(installed, null, 2));
272
273exports.install = (name, def, { version } = {}) => {
274 if (exports.isInstalled(name, version)) {

Callers 3

downloadModuleFunction · 0.85
installModuleFunction · 0.85
moduleUpdater.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected