Package | Description |
---|---|
org.eclipse.jgit.blame |
Computing blame/annotate information of files.
|
org.eclipse.jgit.diff |
Comparing file contents by computing diffs.
|
org.eclipse.jgit.merge |
Content and commit history merge algorithms.
|
Modifier and Type | Method and Description |
---|---|
RawText |
BlameGenerator.getResultContents()
Get complete file contents of the result file blame is annotating
|
RawText |
BlameResult.getResultContents()
Get result contents
|
RawText |
BlameGenerator.getSourceContents()
Get complete contents of the source file blamed for the current output
region
|
Modifier and Type | Method and Description |
---|---|
BlameGenerator |
BlameGenerator.push(String description,
RawText contents)
Push a candidate blob onto the generator's traversal stack.
|
Modifier and Type | Field and Description |
---|---|
static RawText |
RawText.EMPTY_TEXT
A RawText of length 0
|
Modifier and Type | Method and Description |
---|---|
static RawText |
RawText.load(ObjectLoader ldr,
int threshold)
Read a blob object into RawText, or throw BinaryBlobException if the blob
is binary.
|
Modifier and Type | Method and Description |
---|---|
void |
DiffFormatter.format(EditList edits,
RawText a,
RawText b)
Formats a list of edits in unified diff format
|
void |
DiffFormatter.format(FileHeader head,
RawText a,
RawText b)
Format a patch script, reusing a previously parsed FileHeader.
|
int |
RawTextComparator.hash(RawText seq,
int lno) |
Edit |
RawTextComparator.reduceCommonStartEnd(RawText a,
RawText b,
Edit e)
Modify the edit to remove common leading and trailing items.
|
protected void |
DiffFormatter.writeAddedLine(RawText text,
int line)
Output an added line.
|
protected void |
DiffFormatter.writeContextLine(RawText text,
int line)
Output a line of context (unmodified line).
|
protected void |
DiffFormatter.writeLine(char prefix,
RawText text,
int cur)
Write a standard patch script line.
|
protected void |
DiffFormatter.writeRemovedLine(RawText text,
int line)
Output a removed line
|
Modifier and Type | Method and Description |
---|---|
void |
MergeFormatter.formatMerge(OutputStream out,
MergeResult<RawText> res,
List<String> seqName,
Charset charset)
Formats the results of a merge of
RawText
objects in a Git conformant way. |
void |
MergeFormatter.formatMerge(OutputStream out,
MergeResult<RawText> res,
List<String> seqName,
String charsetName)
Deprecated.
|
Copyright © 2020 Eclipse JGit Project. All rights reserved.