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

Function saveCompare_read

modAssist_main.js:797–804  ·  view source on GitHub ↗
(thisPath)

Source from the content-addressed store, hash-verified

795})
796
797function saveCompare_read(thisPath) {
798 try {
799 const saveResult = JSON.parse(parseSaveGame(thisPath))
800 serveIPC.windowLib.sendModList({ thisSaveGame : saveResult }, 'save:saveInfo', 'save', false )
801 } catch (err) {
802 serveIPC.log.danger('save-check', 'Load failed', thisPath, err.message)
803 }
804}
805function saveCompare_open(zipMode = false) {
806 const options = {
807 properties : [(zipMode) ? 'openFile' : 'openDirectory'],

Callers 2

modAssist_main.jsFile · 0.85
saveCompare_openFunction · 0.85

Calls 3

sendModListMethod · 0.80
dangerMethod · 0.80
parseMethod · 0.45

Tested by

no test coverage detected