src/filesystem/impls/appshell/AppshellFileSystem.js
function moveToTrash(path, callback) {
        appshell.fs.moveToTrash(path, function (err) {
            callback(_mapError(err));
        });
    }
function moveToTrash(path, callback) {
        appshell.fs.moveToTrash(path, function (err) {
            callback(_mapError(err));
        });
    }
function moveToTrash ( path , callback ) { appshell . fs . moveToTrash ( path , function ( err ) { callback ( _mapError ( err ) ) ; } ) ; }
Move the file or directory at the given path to a system dependent trash
location, calling back asynchronously with a possibly null FileSystemError
string. Directories will be moved even when non-empty.

@param {string} path
@param {function(string)=} callback
Move the file or directory at the given path to a system dependent trash location calling back asynchronously with a possibly null FileSystemError string . Directories will be moved even when non - empty .