FileSystemModule.writeTextToFileSync(filename, text) Method (JS)
Synchronously writes a string to a UTF-8 encoded file.
Example
var FileSystem = require("FuseJS/FileSystem");
FileSystem.writeTextToFileSync("myfile.txt", "Hello buddy");
Location
- Namespace
- Fuse.FileSystem
- Package
- Fuse.FileSystem 2.9.1