code: function(location) {
  			return this._getEntry(location).then(function(entry) {
  				var d = new orion.Deferred();
  				var remove = (entry.removeRecursively) ? "removeRecursively" : "remove";
  				entry[remove](function() {d.resolve();}, d.reject);
  				return d;
  			});
  		}
docs: Deletes a file, directory, or project.
  @param {String} location The location of the file or directory to delete.