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

Function stringifyJsonDataFile

src/shared/Util.ts:156–158  ·  view source on GitHub ↗
(data: any)

Source from the content-addressed store, hash-verified

154 * @returns JSON string of given data
155 */
156export function stringifyJsonDataFile(data: any): string {
157 return JSON.stringify(data, null, 2).replace(/\n/g, '\r\n');
158}
159
160/**
161 * Check if all properties of both arguments have strictly equals values,

Callers 4

saveFileFunction · 0.90
saveFileFunction · 0.90
saveFileFunction · 0.90
saveFileFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected