Uses of Class
org.eclipse.jgit.patch.FileHeader
Packages that use FileHeader
Package
Description
High-level API commands (the porcelain of JGit).
Comparing file contents by computing diffs.
Patch file parser and data structure.
-
Uses of FileHeader in org.eclipse.jgit.api
Methods in org.eclipse.jgit.api with parameters of type FileHeaderModifier and TypeMethodDescriptionprivate void
ApplyCommand.apply
(Repository repository, String path, DirCache cache, File f, FileHeader fh) private void
ApplyCommand.applyBinary
(Repository repository, String path, File f, FileHeader fh, ApplyCommand.StreamSupplier loader, ObjectId id, DirCacheCheckout.CheckoutMetadata checkOut) private void
ApplyCommand.applyText
(Repository repository, String path, RawText rt, File f, FileHeader fh, DirCacheCheckout.CheckoutMetadata checkOut) private static boolean
ApplyCommand.hasCrLf
(FileHeader fileHeader) private boolean
ApplyCommand.isNoNewlineAtEndOfFile
(FileHeader fh) private boolean
ApplyCommand.needsCrLfConversion
(File f, FileHeader fileHeader) -
Uses of FileHeader in org.eclipse.jgit.diff
Fields in org.eclipse.jgit.diff declared as FileHeaderMethods in org.eclipse.jgit.diff that return FileHeaderModifier and TypeMethodDescriptionDiffFormatter.toFileHeader
(DiffEntry ent) Creates aFileHeader
representing the givenDiffEntry
Methods in org.eclipse.jgit.diff with parameters of type FileHeaderModifier and TypeMethodDescriptionvoid
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.patchModifier and TypeClassDescriptionclass
A file in the Git "diff --cc" or "diff --combined" format.Fields in org.eclipse.jgit.patch declared as FileHeaderModifier and TypeFieldDescriptionprivate final FileHeader
BinaryHunk.file
(package private) final FileHeader
HunkHeader.file
Fields in org.eclipse.jgit.patch with type parameters of type FileHeaderModifier and TypeFieldDescriptionprivate final List<FileHeader>
Patch.files
The files, in the order they were parsed out of the input.Methods in org.eclipse.jgit.patch that return FileHeaderModifier and TypeMethodDescriptionBinaryHunk.getFileHeader()
Get header for the file this hunk applies to.HunkHeader.getFileHeader()
Get header for the file this hunk applies to.Methods in org.eclipse.jgit.patch that return types with arguments of type FileHeaderModifier and TypeMethodDescriptionList<? 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 FileHeaderModifier and TypeMethodDescriptionvoid
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 FileHeaderModifierConstructorDescription(package private)
BinaryHunk
(FileHeader fh, int offset) (package private)
HunkHeader
(FileHeader fh, int offset) (package private)
HunkHeader
(FileHeader fh, int offset, HunkHeader.OldImage oi) (package private)
HunkHeader
(FileHeader fh, EditList editList)