MCPcopy Create free account
hub / github.com/FSGModding/FSG_Mod_Assistant / #cacheHit

Method #cacheHit

lib/modCheckLib.js:905–911  ·  view source on GitHub ↗
(thisFileStats)

Source from the content-addressed store, hash-verified

903 }
904
905 #cacheHit(thisFileStats) {
906 if ( thisFileStats.folder || this.#skipCache || thisFileStats.hashString === null ) {
907 return false
908 }
909
910 return this.#modCache.getMod(thisFileStats.hashString)
911 }
912
913 #fileStats(collectKey, thisFile) {
914 const folderLoc = this.#map_CollectionToFolder[collectKey]

Callers 1

#addModMethod · 0.95

Calls 1

getModMethod · 0.45

Tested by

no test coverage detected