Class GitDiffExtractor

java.lang.Object
io.github.vishalsharma1997.services.GitDiffExtractor

public class GitDiffExtractor extends Object
  • Constructor Details

    • GitDiffExtractor

      public GitDiffExtractor(CustomLogger log)
  • Method Details

    • getGitDiffExtract

      public GitDiffExtract getGitDiffExtract(String targetRevision) throws org.eclipse.jgit.api.errors.GitAPIException, IOException
      Throws:
      org.eclipse.jgit.api.errors.GitAPIException
      IOException
    • getGitDiffExtract

      public GitDiffExtract getGitDiffExtract(File gitDirectory, String targetRevision) throws IOException, org.eclipse.jgit.api.errors.GitAPIException
      Throws:
      IOException
      org.eclipse.jgit.api.errors.GitAPIException