javagit/src/main/java/edu/nyu/cs/javagit/client/cli/CliGitRm.java
private GitRmResponse processRm(File repository, GitRmOptions options, File path, List<File> paths)
      throws IOException, JavaGitException {
    List<String> cmdline = buildCommandLine(options, path, paths);

    GitRmParser parser = new GitRmParser();
    return (GitRmResponse) ProcessUtilities.runCommand(repository, cmdline, parser);
  }
private GitRmResponse processRm(File repository, GitRmOptions options, File path, List<File> paths)
      throws IOException, JavaGitException {
    List<String> cmdline = buildCommandLine(options, path, paths);

    GitRmParser parser = new GitRmParser();
    return (GitRmResponse) ProcessUtilities.runCommand(repository, cmdline, parser);
  }
Processes an incoming <code>GitRm</code> request.

@param repository
The path to the repository.
@param options
The options to use in constructing the command line.
@param path
A single file/directory to delete. This should be null if there is a list of paths to
delete.
@param paths
A list of files/paths to delete. This should be null if there is a single path to
delete.
@return The response from running the command.
@exception IOException
There are many reasons for which an <code>IOException</code> may be thrown.
Examples include:
<ul>
<li>a directory doesn't exist</li>
<li>access to a file is denied</li>
<li>a command is not found on the PATH</li>
</ul>
@exception JavaGitException
Thrown when there is an error making the commit.