Synchrounously deletes a file inside the application folder.

var Storage = require("FuseJS/Storage");

var success = Storage.removeSync("uselessFile.txt");
if(success) {
    console.log("Deleted file");
}
else {
    console.log("An error occured!");
}

Warning: This call will block until the operation is finished.

Location

Namespace
Fuse.Storage
Package
Fuse.Storage 2.9.1

Returns

boolean

true if the file was deleted, false otherwise.