Package org.eclipse.jgit.diff
Comparing file contents by computing diffs.
-
Class Summary Class Description ContentSource Supplies the content of a file forDiffFormatter
.ContentSource.Pair A pair of sources to access the old and new sides of a DiffEntry.DiffAlgorithm DiffConfig Keeps track of diff related configuration options.DiffEntry A value class representing a change to a fileDiffFormatter Format a Git style patch script.Edit A modified region detected between two versions of roughly the same content.EditList Specialized list ofEdit
s in a document.HashedSequence<S extends Sequence> Wraps aSequence
to assign hash codes to elements.HashedSequenceComparator<S extends Sequence> Wrap another comparator for use withHashedSequence
.HashedSequencePair<S extends Sequence> Wraps twoSequence
instances to cache their element hash codes.HistogramDiff An extended form of Bram Cohen's patience diff algorithm.LowLevelDiffAlgorithm Compares two sequences primarily based upon hash codes.MyersDiff<S extends Sequence> Diff algorithm, based on "An O(ND) Difference Algorithm and its Variations", by Eugene Myers.PatchIdDiffFormatter A DiffFormatter used to calculate the patch-id of the diff.RawText A Sequence supporting UNIX formatted text in byte[] format.RawTextComparator Equivalence function forRawText
.RenameDetector Detect and resolve object renames.Sequence Arbitrary sequence of elements.SequenceComparator<S extends Sequence> Equivalence function for aSequence
compared by difference algorithm.SimilarityIndex Index structure of lines/blocks in one file.Subsequence<S extends Sequence> Wraps aSequence
to have a narrower range of elements.SubsequenceComparator<S extends Sequence> Wrap another comparator for use withSubsequence
. -
Enum Summary Enum Description DiffAlgorithm.SupportedAlgorithm Supported diff algorithmDiffConfig.RenameDetectionType Permissible values fordiff.renames
.DiffEntry.ChangeType General type of change a single file-level patch describes.DiffEntry.Side Specify the old or new side for more generalized access.Edit.Type Type of edit -
Exception Summary Exception Description SimilarityIndex.TableFullException Thrown bycreate()
when file is too large.