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

Method versionCurrent

lib/modCheckLib.js:1142–1145  ·  view source on GitHub ↗

* Check if collection version is the currently selected version * @param {modRecord_collectKey} collectKey * @returns {boolean}

(collectKey)

Source from the content-addressed store, hash-verified

1140 * @returns {boolean}
1141 */
1142 versionCurrent(collectKey) {
1143 const current_version = serveIPC.storeSet.get('game_version')
1144 return this.versionSame(collectKey, current_version)
1145 }
1146
1147 /**
1148 * Get note with safe default

Callers 1

Calls 2

versionSameMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected