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

Method modColUUIDToRecord

lib/modCheckLib.js:443–446  ·  view source on GitHub ↗

* Get a modRecord from a comboKey * @param {modRecord_col_uuid} ID * @returns {?modRecord}

(ID)

Source from the content-addressed store, hash-verified

441 * @returns {?modRecord}
442 */
443 modColUUIDToRecord(ID) {
444 const idParts = ID.split('--')
445 return this.#list_allMods?.[idParts[0]]?.mods?.[idParts[1]] || null
446 }
447
448 /**
449 * Get folder path from comboKey

Callers 2

modColUUIDsToRecordsMethod · 0.95
modAssist_main.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected