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

Method processMods

lib/modCheckLib.js:696–705  ·  view source on GitHub ↗

* Process mods on disk (multi-threaded)

()

Source from the content-addressed store, hash-verified

694 * Process mods on disk (multi-threaded)
695 */
696 async processMods() {
697 this.#startThreads()
698
699 for ( const collectKey of this.#set_Collections ) {
700 for ( const thisFile of this.#map_FolderContents[collectKey] ) {
701 this.#scanPromise.push(this.#addMod(collectKey, thisFile))
702 }
703 }
704 this.#exitThreads()
705 }
706
707 /**
708 * Post-process mods, run after processMods, but before returning to caller

Callers 1

Calls 3

#startThreadsMethod · 0.95
#addModMethod · 0.95
#exitThreadsMethod · 0.95

Tested by

no test coverage detected