MCPcopy Create free account
hub / github.com/VemtoOrg/vemto2 / writeJsonFile

Method writeJsonFile

src/main/base/FileSystem.ts:83–85  ·  view source on GitHub ↗
(filePath: string, data: any)

Source from the content-addressed store, hash-verified

81 }
82
83 writeJsonFile(filePath: string, data: any): FileSystem {
84 return this.writeFile(filePath, JSON.stringify(data, null, 4))
85 }
86
87 appendToFile(filePath: string, content: string): FileSystem {
88 fs.appendFileSync(filePath, content)

Callers 3

writeConflictsFileMethod · 0.95
HandleDatabaseFunction · 0.80
saveQueueFunction · 0.80

Calls 1

writeFileMethod · 0.95

Tested by

no test coverage detected