code: function _revertSelection(previousPath, switchToWorkingSet) {
          model.setSelected(previousPath);
          if (switchToWorkingSet) {
              FileViewController.setFileViewFocus(FileViewController.WORKING_SET_VIEW);
          }
      }
docs: @private
  
  Reverts to the previous selection (useful if there's an error).
  
  @param {string|File} previousPath The previously selected path.
  @param {boolean} switchToWorkingSet True if we need to switch focus to the Working Set