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

Method version

lib/modCheckLib.js:1110–1112  ·  view source on GitHub ↗

* Get version of a collection * @param {modRecord_collectKey} collectKey * @returns {number}

(collectKey)

Source from the content-addressed store, hash-verified

1108 * @returns {number}
1109 */
1110 version(collectKey) {
1111 return this.#map_CollectionNotes.get(`${collectKey}.notes_version`, 25)
1112 }
1113 isHolding(collectKey) {
1114 return this.#map_CollectionNotes.get(`${collectKey}.notes_holding`, false)
1115 }

Callers 4

getCurVerCollectionsMethod · 0.95
versionSameMethod · 0.95
versionNotSameMethod · 0.95
isValidForListMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected