code: public boolean addDeletedFile(File pathToFile, String mode) {
      if (null == pathToFile) {
        return false;
      }
  
      return deletedFiles.add(new AddedOrDeletedFile(pathToFile, mode));
    }
docs: Add the information about a file deleted from the repository for a given commit.
  
  @param pathToFile
  The path to the file from the root of the repository.
  @param mode
  The mode of the file.
  @return False if the <code>pathToFile</code> is null or length zero. True otherwise.