Uses of Class
org.eclipse.jgit.diff.DiffEntry
Packages that use DiffEntry
Package
Description
High-level API commands (the porcelain of JGit).
Comparing file contents by computing diffs.
Patch file parser and data structure.
Walking revision graphs (commit history).
-
Uses of DiffEntry in org.eclipse.jgit.api
Methods in org.eclipse.jgit.api that return types with arguments of type DiffEntry -
Uses of DiffEntry in org.eclipse.jgit.diff
Methods in org.eclipse.jgit.diff that return types with arguments of type DiffEntryModifier and TypeMethodDescriptionRenameDetector.compute()
Detect renames in the current file set.RenameDetector.compute
(ContentSource.Pair reader, ProgressMonitor pm) Detect renames in the current file set.RenameDetector.compute
(ObjectReader reader, ProgressMonitor pm) Detect renames in the current file set.RenameDetector.compute
(ProgressMonitor pm) Detect renames in the current file set.Convert the TreeWalk into DiffEntry headers.Convert the TreeWalk into DiffEntry headers, depending onincludeTrees
it will add tree objects into result or not.DiffEntry.scan
(TreeWalk walk, boolean includeTrees, TreeFilter[] markTreeFilters) Convert the TreeWalk into DiffEntry headers, depending onincludeTrees
it will add tree objects into result or not.DiffFormatter.scan
(AnyObjectId a, AnyObjectId b) Determine the differences between two trees.Determine the differences between two trees.DiffFormatter.scan
(AbstractTreeIterator a, AbstractTreeIterator b) Determine the differences between two trees.Methods in org.eclipse.jgit.diff with parameters of type DiffEntryModifier and TypeMethodDescriptionvoid
Add an entry to be considered for rename detection.void
Format a patch script for one file entry.protected void
DiffFormatter.formatIndexLine
(OutputStream o, DiffEntry ent) Format index lineprotected void
PatchIdDiffFormatter.formatIndexLine
(OutputStream o, DiffEntry ent) ContentSource.Pair.open
(DiffEntry.Side side, DiffEntry ent) Open the object.long
ContentSource.Pair.size
(DiffEntry.Side side, DiffEntry ent) Determine the size of the object.DiffFormatter.toFileHeader
(DiffEntry ent) Creates aFileHeader
representing the givenDiffEntry
Method parameters in org.eclipse.jgit.diff with type arguments of type DiffEntry -
Uses of DiffEntry in org.eclipse.jgit.internal.diff
Methods in org.eclipse.jgit.internal.diff that return types with arguments of type DiffEntryModifier and TypeMethodDescriptionFilteredRenameDetector.compute
(List<DiffEntry> changes, List<PathFilter> pathFilters) Tries to avoid computation overhead inRenameDetector.compute()
by filtering diffs related to the path filters only.FilteredRenameDetector.compute
(List<DiffEntry> diffs, PathFilter pathFilter) Compute diff entriesMethod parameters in org.eclipse.jgit.internal.diff with type arguments of type DiffEntryModifier and TypeMethodDescriptionFilteredRenameDetector.compute
(List<DiffEntry> changes, List<PathFilter> pathFilters) Tries to avoid computation overhead inRenameDetector.compute()
by filtering diffs related to the path filters only.FilteredRenameDetector.compute
(List<DiffEntry> diffs, PathFilter pathFilter) Compute diff entries -
Uses of DiffEntry in org.eclipse.jgit.patch
Subclasses of DiffEntry in org.eclipse.jgit.patchModifier and TypeClassDescriptionclass
A file in the Git "diff --cc" or "diff --combined" format.class
Patch header describing an action for a single file path. -
Uses of DiffEntry in org.eclipse.jgit.revwalk
Methods in org.eclipse.jgit.revwalk with parameters of type DiffEntryModifier and TypeMethodDescriptionabstract void
Called whenever a diff was found that is actually a rename or copy of a file.void
Called whenever a diff was found that is actually a rename or copy of a file along with the commit that caused it.