Asynchronously delete a file.

Example

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

FileSystem.remove("myfile.txt")
    .then(function() {
        console.log("Delete succeeded");
    }, function(error) {
        console.log("Unable to delete file");
    });

Location

Namespace
Fuse.FileSystem
Package
Fuse.FileSystem 2.9.1

Returns

Promise

A Promise of nothing