Interface DiffResult

All Superinterfaces:
Iterable<DiffFile>

public interface DiffResult extends Iterable<DiffFile>
  • Method Details

    • getOldRevision

      String getOldRevision()
    • getNewRevision

      String getNewRevision()
    • isPartial

      default boolean isPartial()
    • getOffset

      default int getOffset()
    • getLimit

      default Optional<Integer> getLimit()
    • getIgnoreWhitespace

      default IgnoreWhitespaceLevel getIgnoreWhitespace()
    • getStatistics

      default Optional<DiffResult.DiffStatistics> getStatistics()
      This function returns statistics if they are supported.
      Since:
      3.4.0
    • getDiffTree

      default Optional<DiffResult.DiffTreeNode> getDiffTree()
      This function returns all file paths wrapped in a tree
      Since:
      3.5.0