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

Method hasMod

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

* Test is mod exists in cache * @param {string} uuid Mod UUID * @returns {boolean} UUID exists in cache

(uuid)

Source from the content-addressed store, hash-verified

716 * @returns {boolean} UUID exists in cache
717 */
718 hasMod(uuid) { return this.#cacheMap.has(uuid) }
719 /**
720 * Get mod from cache
721 * @param {string} uuid Mod UUID

Callers 1

getModMethod · 0.95

Calls 1

hasMethod · 0.80

Tested by

no test coverage detected