Uses of Class
org.eclipse.jgit.patch.FileHeader
-
Packages that use FileHeader Package Description org.eclipse.jgit.api High-level API commands (the porcelain of JGit).org.eclipse.jgit.diff Comparing file contents by computing diffs.org.eclipse.jgit.patch Patch file parser and data structure. -
-
Uses of FileHeader in org.eclipse.jgit.api
Methods in org.eclipse.jgit.api with parameters of type FileHeader Modifier and Type Method Description private void
ApplyCommand. apply(java.io.File f, FileHeader fh)
private boolean
ApplyCommand. isNoNewlineAtEndOfFile(FileHeader fh)
private boolean
ApplyCommand. verifyExistence(FileHeader fh, java.io.File src, java.io.File dest, ApplyCommand.Result result)
-
Uses of FileHeader in org.eclipse.jgit.diff
Fields in org.eclipse.jgit.diff declared as FileHeader Modifier and Type Field Description (package private) FileHeader
DiffFormatter.FormatResult. header
Methods in org.eclipse.jgit.diff that return FileHeader Modifier and Type Method Description FileHeader
DiffFormatter. toFileHeader(DiffEntry ent)
Creates aFileHeader
representing the givenDiffEntry
Methods in org.eclipse.jgit.diff with parameters of type FileHeader Modifier and Type Method Description void
DiffFormatter. format(FileHeader head, RawText a, RawText b)
Format a patch script, reusing a previously parsed FileHeader. -
Uses of FileHeader in org.eclipse.jgit.patch
Subclasses of FileHeader in org.eclipse.jgit.patch Modifier and Type Class Description class
CombinedFileHeader
A file in the Git "diff --cc" or "diff --combined" format.Fields in org.eclipse.jgit.patch declared as FileHeader Modifier and Type Field Description private FileHeader
BinaryHunk. file
(package private) FileHeader
HunkHeader. file
Fields in org.eclipse.jgit.patch with type parameters of type FileHeader Modifier and Type Field Description private java.util.List<FileHeader>
Patch. files
The files, in the order they were parsed out of the input.Methods in org.eclipse.jgit.patch that return FileHeader Modifier and Type Method Description FileHeader
BinaryHunk. getFileHeader()
Get header for the file this hunk applies to.FileHeader
HunkHeader. getFileHeader()
Get header for the file this hunk applies to.Methods in org.eclipse.jgit.patch that return types with arguments of type FileHeader Modifier and Type Method Description java.util.List<? extends FileHeader>
Patch. getFiles()
Get list of files described in the patch, in occurrence order.Methods in org.eclipse.jgit.patch with parameters of type FileHeader Modifier and Type Method Description void
Patch. addFile(FileHeader fh)
Add a single file to this patch.private int
Patch. parseGitBinary(FileHeader fh, int c, int end)
private int
Patch. parseHunks(FileHeader fh, int c, int end)
Constructors in org.eclipse.jgit.patch with parameters of type FileHeader Constructor Description BinaryHunk(FileHeader fh, int offset)
HunkHeader(FileHeader fh, int offset)
HunkHeader(FileHeader fh, int offset, HunkHeader.OldImage oi)
HunkHeader(FileHeader fh, EditList editList)
-