Package | Description |
---|---|
org.eclipse.jgit.diff |
Comparing file contents by computing diffs.
|
Modifier and Type | Method and Description |
---|---|
Edit |
Edit.after(Edit cut)
Construct a new edit representing the region after cut.
|
Edit |
Edit.before(Edit cut)
Construct a new edit representing the region before cut.
|
Edit |
RawTextComparator.reduceCommonStartEnd(RawText a,
RawText b,
Edit e)
Modify the edit to remove common leading and trailing items.
|
Edit |
SequenceComparator.reduceCommonStartEnd(S a,
S b,
Edit e)
Modify the edit to remove common leading and trailing items.
|
Modifier and Type | Method and Description |
---|---|
static <S extends Sequence> |
Subsequence.a(S a,
Edit region)
Construct a subsequence around the A region/base sequence.
|
Edit |
Edit.after(Edit cut)
Construct a new edit representing the region after cut.
|
static <S extends Sequence> |
Subsequence.b(S b,
Edit region)
Construct a subsequence around the B region/base sequence.
|
Edit |
Edit.before(Edit cut)
Construct a new edit representing the region before cut.
|
abstract <S extends Sequence> |
LowLevelDiffAlgorithm.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.
|
<S extends Sequence> |
HistogramDiff.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.
|
Edit |
RawTextComparator.reduceCommonStartEnd(RawText a,
RawText b,
Edit e)
Modify the edit to remove common leading and trailing items.
|
Edit |
SequenceComparator.reduceCommonStartEnd(S a,
S b,
Edit e)
Modify the edit to remove common leading and trailing items.
|
static EditList |
EditList.singleton(Edit edit)
Construct an edit list containing a single edit.
|
static <S extends Sequence> |
Subsequence.toBase(Edit e,
Subsequence<S> a,
Subsequence<S> b)
Adjust the Edit to reflect positions in the base sequence.
|
Copyright © 2018 Eclipse JGit Project. All rights reserved.