Package | Description |
---|---|
org.eclipse.jgit.diff |
Comparing file contents by computing diffs.
|
org.eclipse.jgit.patch |
Patch file parser and data structure.
|
Modifier and Type | Method and Description |
---|---|
FileHeader |
DiffFormatter.toFileHeader(DiffEntry ent)
Creates a
FileHeader representing the
given DiffEntry |
Modifier and Type | Method and Description |
---|---|
void |
DiffFormatter.format(FileHeader head,
RawText a,
RawText b)
Format a patch script, reusing a previously parsed FileHeader.
|
Modifier and Type | Class and Description |
---|---|
class |
CombinedFileHeader
A file in the Git "diff --cc" or "diff --combined" format.
|
Modifier and Type | Method and Description |
---|---|
FileHeader |
HunkHeader.getFileHeader()
Get header for the file this hunk applies to.
|
FileHeader |
BinaryHunk.getFileHeader()
Get header for the file this hunk applies to.
|
Modifier and Type | Method and Description |
---|---|
List<? extends FileHeader> |
Patch.getFiles()
Get list of files described in the patch, in occurrence order.
|
Modifier and Type | Method and Description |
---|---|
void |
Patch.addFile(FileHeader fh)
Add a single file to this patch.
|
Copyright © 2020 Eclipse JGit Project. All rights reserved.