lib/Ext/device/filesystem/Sencha.js
function(config) {
                Ext.device.Communicator.send({
                    command: 'FileSystem#remove',
                    path: this.path,
                    fileSystemId: this.fileSystem.id,
                    recursively: config.recursively,
                    callbacks: {
                        success: function() {
                            if (config.success) {
                                config.success.call(config.scope || this);
                            }
                        },
                        failure: function(error) {
                            if (config.failure) {
                                config.failure.call(config.scope || this, error);
                            }
                        }
                    },
                    scope: config.scope || this
                });
            }
function(config) {
                Ext.device.Communicator.send({
                    command: 'FileSystem#remove',
                    path: this.path,
                    fileSystemId: this.fileSystem.id,
                    recursively: config.recursively,
                    callbacks: {
                        success: function() {
                            if (config.success) {
                                config.success.call(config.scope || this);
                            }
                        },
                        failure: function(error) {
                            if (config.failure) {
                                config.failure.call(config.scope || this, error);
                            }
                        }
                    },
                    scope: config.scope || this
                });
            }
Removes the entry from the file system.

@param {Object} config
The object which contains the following config options:

@param {Function} config.success This is optional.
The callback to be called when the entry has been successfully removed.

@param {Function} config.failure This is optional.
The callback to be called when an error occurred.

@param {Object} config.failure.error
The occurred error.

@param {Object} config.scope
The scope object