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

Method constructor

lib/modUtilLib.js:627–632  ·  view source on GitHub ↗

* Create new instance * @param {string} filePath Path to save to on disk

(filePath)

Source from the content-addressed store, hash-verified

625 * @param {string} filePath Path to save to on disk
626 */
627 constructor(filePath) {
628 this.#saveFileData = path.join(filePath, 'mod_cache.json')
629 this.#saveFileIcon = path.join(filePath, 'mod_icons.json')
630 this.#saveFileDetail = path.join(filePath, 'mod_items.json')
631 this.loadFile()
632 }
633
634 /**
635 * Load current cache

Callers

nothing calls this directly

Calls 1

loadFileMethod · 0.95

Tested by

no test coverage detected