MCPcopy Create free account
hub / github.com/FlashpointProject/launcher / parse

Function parse

src/back/ConfigFile.ts:67–69  ·  view source on GitHub ↗
(json: any, onError?: (error: string) => void)

Source from the content-addressed store, hash-verified

65 }
66
67 function parse(json: any, onError?: (error: string) => void): AppConfigData {
68 return overwriteConfigData(deepCopy(getDefaultConfigData(process.platform)), json, onError);
69 }
70}

Callers 2

readFileFunction · 0.70
readFileSyncFunction · 0.70

Calls 3

overwriteConfigDataFunction · 0.90
deepCopyFunction · 0.90
getDefaultConfigDataFunction · 0.90

Tested by

no test coverage detected