Uses of Class
org.eclipse.jgit.diff.Edit
Packages that use Edit
Package
Description
Comparing file contents by computing diffs.
Content and commit history merge algorithms.
-
Uses of Edit in org.eclipse.jgit.diff
Fields in org.eclipse.jgit.diff declared as EditModifier and TypeFieldDescriptionprotected EditMyersDiff.MiddleEdit.editprivate EditHistogramDiffIndex.lcsprivate final EditHistogramDiffIndex.regionFields in org.eclipse.jgit.diff with type parameters of type EditMethods in org.eclipse.jgit.diff that return EditModifier and TypeMethodDescriptionfinal EditConstruct a new edit representing the region after cut.final EditConstruct a new edit representing the region before cut.(package private) EditMyersDiff.MiddleEdit.calculate(int beginA, int endA, int beginB, int endB) DiffAlgorithm.coverEdit(S a, S b) (package private) EditHistogramDiffIndex.findLongestCommonSequence()RawTextComparator.reduceCommonStartEnd(RawText a, RawText b, Edit e) Modify the edit to remove common leading and trailing items.SequenceComparator.reduceCommonStartEnd(S a, S b, Edit e) Modify the edit to remove common leading and trailing items.Methods in org.eclipse.jgit.diff with parameters of type EditModifier and TypeMethodDescriptionstatic <S extends Sequence>
Subsequence<S>Construct a subsequence around the A region/base sequence.final EditConstruct a new edit representing the region after cut.static <S extends Sequence>
Subsequence<S>Construct a subsequence around the B region/base sequence.final EditConstruct a new edit representing the region before cut.private voidMyersDiff.calculateEdits(Edit r) Entrypoint into the algorithm this class is all about.private void<S extends Sequence>
voidHistogramDiff.diffNonCommon(EditList edits, HashedSequenceComparator<S> cmp, HashedSequence<S> a, HashedSequence<S> b, Edit region) Compare two sequences and identify a list of edits between them.abstract <S extends Sequence>
voidLowLevelDiffAlgorithm.diffNonCommon(EditList edits, HashedSequenceComparator<S> cmp, HashedSequence<S> a, HashedSequence<S> b, Edit region) Compare two sequences and identify a list of edits between them.(package private) voidHistogramDiff.State.diffRegion(Edit r) private voidHistogramDiff.State.diffReplace(Edit r) private static booleanRawTextComparator.reduceCommonStartEnd(RawText a, RawText b, Edit e) Modify the edit to remove common leading and trailing items.SequenceComparator.reduceCommonStartEnd(S a, S b, Edit e) Modify the edit to remove common leading and trailing items.static EditListConstruct an edit list containing a single edit.static <S extends Sequence>
voidSubsequence.toBase(Edit e, Subsequence<S> a, Subsequence<S> b) Adjust the Edit to reflect positions in the base sequence.Method parameters in org.eclipse.jgit.diff with type arguments of type EditModifier and TypeMethodDescriptionprivate booleanprivate booleanprivate intDiffFormatter.findCombinedEnd(List<Edit> edits, int i) Constructors in org.eclipse.jgit.diff with parameters of type EditModifierConstructorDescription(package private)HistogramDiffIndex(int maxChainLength, HashedSequenceComparator<S> cmp, HashedSequence<S> a, HashedSequence<S> b, Edit r) privateMyersDiff(EditList edits, HashedSequenceComparator<S> cmp, HashedSequence<S> a, HashedSequence<S> b, Edit region) -
Uses of Edit in org.eclipse.jgit.merge
Fields in org.eclipse.jgit.merge declared as EditMethods in org.eclipse.jgit.merge that return EditModifier and TypeMethodDescriptionprivate static EditHelper method which returns the next Edit for an Iterator over Edits.Methods in org.eclipse.jgit.merge with parameters of type EditMethod parameters in org.eclipse.jgit.merge with type arguments of type Edit