MCPcopy Create free account
hub / github.com/FSGModding/FSG_Mod_Assistant / getMod

Method getMod

lib/modUtilLib.js:724–724  ·  view source on GitHub ↗

* Get mod from cache * @param {string} uuid Mod UUID * @returns {(Object|boolean)} Mod record or false

(uuid)

Source from the content-addressed store, hash-verified

722 * @returns {(Object|boolean)} Mod record or false
723 */
724 getMod(uuid) { return this.hasMod(uuid) ? this.#cacheMap.get(uuid) : false }
725 /**
726 * Remove mod from cache
727 * @param {string} uuid Mod UUID

Callers 1

#cacheHitMethod · 0.45

Calls 2

hasModMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected