Top Description Classes Enums
module org.eclipse.jgit

Package org.eclipse.jgit.diff


Comparing file contents by computing diffs.

Class Summary

Modifier and TypeClass and Description
public abstract class
ContentSource

Supplies the content of a file for org.eclipse.jgit.diff.DiffFormatter.

public abstract class
public class
DiffConfig

Keeps track of diff related configuration options.

public class
DiffEntry

A value class representing a change to a file

public class
DiffFormatter

Format a Git style patch script.

public class
Edit

A modified region detected between two versions of roughly the same content.

public class
EditList

Specialized list of org.eclipse.jgit.diff.Edits in a document.

public class
HashedSequence<
the base sequence type.
S extends Sequence
>

Wraps a org.eclipse.jgit.diff.Sequence to assign hash codes to elements.

public class
HashedSequenceComparator<
the base sequence type.
S extends Sequence
>

Wrap another comparator for use with org.eclipse.jgit.diff.HashedSequence.

public class
HashedSequencePair<
the base sequence type.
S extends Sequence
>

Wraps two org.eclipse.jgit.diff.Sequence instances to cache their element hash codes.

public class
HistogramDiff

An extended form of Bram Cohen's patience diff algorithm.

pack-priv class
HistogramDiffIndex<
type of the base sequence.
S extends Sequence
>

Support HistogramDiff by computing occurrence counts of elements.

public abstract class
LowLevelDiffAlgorithm

Compares two sequences primarily based upon hash codes.

public class
MyersDiff<
type of sequence.
S extends Sequence
>

Diff algorithm, based on "An O(ND) Difference Algorithm and its Variations", by Eugene Myers.

public class
PatchIdDiffFormatter

A DiffFormatter used to calculate the patch-id of the diff.

public class
RawText

A Sequence supporting UNIX formatted text in byte[] format.

public abstract class
public class
RenameDetector

Detect and resolve object renames.

public abstract class
Sequence

Arbitrary sequence of elements.

public abstract class
SequenceComparator<
type of sequence the comparator supports.
S extends Sequence
>

Equivalence function for a org.eclipse.jgit.diff.Sequence compared by difference algorithm.

public class
SimilarityIndex

Index structure of lines/blocks in one file.

pack-priv class
public class
Subsequence<
the base sequence type.
S extends Sequence
>

Wraps a org.eclipse.jgit.diff.Sequence to have a narrower range of elements.

public class
SubsequenceComparator<
the base sequence type.
S extends Sequence
>

Wrap another comparator for use with org.eclipse.jgit.diff.Subsequence.

Enum Summary

Modifier and TypeEnum and Description
public enum
DiffDriver

Built-in drivers for various languages, sorted by name.