Uses of Class
org.eclipse.jgit.diff.DiffEntry
Packages that use DiffEntry
Package
Description
High-level API commands (the porcelain of JGit).
Computing blame/annotate information of files.
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.blame
Methods in org.eclipse.jgit.blame that return DiffEntryModifier and TypeMethodDescriptionprivate DiffEntry
BlameGenerator.findRename
(RevCommit parent, RevCommit commit, PathFilter path) Methods in org.eclipse.jgit.blame with parameters of type DiffEntry -
Uses of DiffEntry in org.eclipse.jgit.diff
Fields in org.eclipse.jgit.diff with type parameters of type DiffEntryModifier and TypeFieldDescriptionRenameDetector.added
RenameDetector.deleted
private static final Comparator
<DiffEntry> RenameDetector.DIFF_COMPARATOR
SimilarityRenameDetector.dsts
All destinations to consider looking for a rename.RenameDetector.entries
SimilarityRenameDetector.out
SimilarityRenameDetector.srcs
All sources to consider for copies or renames.Methods in org.eclipse.jgit.diff that return DiffEntryModifier and TypeMethodDescription(package private) static DiffEntry
DiffEntry.add
(String path, AnyObjectId id) private static DiffEntry
RenameDetector.bestPathMatch
(DiffEntry src, List<DiffEntry> list) Find the best match by file path for a given DiffEntry from a list of DiffEntrys.(package private) static DiffEntry
DiffEntry.delete
(String path, AnyObjectId id) private static DiffEntry
private static DiffEntry
RenameDetector.exactRename
(DiffEntry src, DiffEntry dst) (package private) static DiffEntry
(package private) static DiffEntry
DiffEntry.pair
(DiffEntry.ChangeType changeType, DiffEntry src, DiffEntry dst, int score) Methods in org.eclipse.jgit.diff that return types with arguments of type DiffEntryModifier and TypeMethodDescriptionDiffEntry.breakModify
(DiffEntry entry) Breaks apart a DiffEntry into two entries, one DELETE and one ADD.SimilarityRenameDetector.compactDstList
(List<DiffEntry> in) SimilarityRenameDetector.compactSrcList
(List<DiffEntry> in) RenameDetector.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.DiffFormatter.detectRenames
(List<DiffEntry> files) SimilarityRenameDetector.getLeftOverDestinations()
SimilarityRenameDetector.getLeftOverSources()
SimilarityRenameDetector.getMatches()
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.DiffFormatter.updateFollowFilter
(List<DiffEntry> files) Methods in org.eclipse.jgit.diff with parameters of type DiffEntryModifier and TypeMethodDescriptionvoid
Add an entry to be considered for rename detection.private static DiffEntry
RenameDetector.bestPathMatch
(DiffEntry src, List<DiffEntry> list) Find the best match by file path for a given DiffEntry from a list of DiffEntrys.DiffEntry.breakModify
(DiffEntry entry) Breaks apart a DiffEntry into two entries, one DELETE and one ADD.private int
RenameDetector.calculateModifyScore
(ContentSource.Pair reader, DiffEntry d) private DiffFormatter.FormatResult
DiffFormatter.createFormatResult
(DiffEntry ent) private static DiffEntry
private static DiffEntry
RenameDetector.exactRename
(DiffEntry src, DiffEntry dst) void
Format a patch script for one file entry.private void
DiffFormatter.formatHeader
(ByteArrayOutputStream o, DiffEntry ent) protected void
DiffFormatter.formatIndexLine
(OutputStream o, DiffEntry ent) Format index lineprotected void
PatchIdDiffFormatter.formatIndexLine
(OutputStream o, DiffEntry ent) Format index lineprivate void
DiffFormatter.formatOldNewPaths
(ByteArrayOutputStream o, DiffEntry ent) private SimilarityIndex
SimilarityRenameDetector.hash
(DiffEntry.Side side, DiffEntry ent) private static AbbreviatedObjectId
private static boolean
private static FileMode
ContentSource.Pair.open
(DiffEntry.Side side, DiffEntry ent) Open the object.private RawText
DiffFormatter.open
(DiffEntry.Side side, DiffEntry entry) (package private) static DiffEntry
DiffEntry.pair
(DiffEntry.ChangeType changeType, DiffEntry src, DiffEntry dst, int score) private static String
long
ContentSource.Pair.size
(DiffEntry.Side side, DiffEntry ent) Determine the size of the object.private long
SimilarityRenameDetector.size
(DiffEntry.Side side, DiffEntry ent) DiffFormatter.toFileHeader
(DiffEntry ent) Creates aFileHeader
representing the givenDiffEntry
Method parameters in org.eclipse.jgit.diff with type arguments of type DiffEntryModifier and TypeMethodDescriptionvoid
RenameDetector.addAll
(Collection<DiffEntry> entriesToAdd) Add entries to be considered for rename detection.private static DiffEntry
RenameDetector.bestPathMatch
(DiffEntry src, List<DiffEntry> list) Find the best match by file path for a given DiffEntry from a list of DiffEntrys.SimilarityRenameDetector.compactDstList
(List<DiffEntry> in) SimilarityRenameDetector.compactSrcList
(List<DiffEntry> in) DiffFormatter.detectRenames
(List<DiffEntry> files) void
Format a patch script from a list of difference entries.private boolean
private HashMap
<AbbreviatedObjectId, Object> RenameDetector.populateMap
(List<DiffEntry> diffEntries, ProgressMonitor pm) DiffFormatter.updateFollowFilter
(List<DiffEntry> files) Constructor parameters in org.eclipse.jgit.diff with type arguments of type DiffEntryModifierConstructorDescription(package private)
SimilarityRenameDetector
(ContentSource.Pair reader, List<DiffEntry> srcs, List<DiffEntry> dsts) -
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.pgm
Method parameters in org.eclipse.jgit.pgm with type arguments of type DiffEntryModifier and TypeMethodDescription(package private) static void
Diff.nameStatus
(ThrowingPrintWriter out, List<DiffEntry> files) -
Uses of DiffEntry in org.eclipse.jgit.revwalk
Methods in org.eclipse.jgit.revwalk with parameters of type DiffEntry