MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / writeFile

Function writeFile

src/core/index.ts:800–802  ·  view source on GitHub ↗
(path: string, data: string)

Source from the content-addressed store, hash-verified

798// File I/O
799
800export function writeFile(path: string, data: string): boolean {
801 return bloom_write_file(path as any, data as any) !== 0.0;
802}
803
804export function fileExists(path: string): boolean {
805 return bloom_file_exists(path as any) !== 0.0;

Callers 2

saveWorldFunction · 0.90
savePrefabFunction · 0.90

Calls 1

bloom_write_fileFunction · 0.50

Tested by

no test coverage detected