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 DiffEntryBlameGenerator.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.addedRenameDetector.deletedprivate static final Comparator<DiffEntry>RenameDetector.DIFF_COMPARATORSimilarityRenameDetector.dstsAll destinations to consider looking for a rename.RenameDetector.entriesSimilarityRenameDetector.outSimilarityRenameDetector.srcsAll sources to consider for copies or renames.Methods in org.eclipse.jgit.diff that return DiffEntryModifier and TypeMethodDescription(package private) static DiffEntryDiffEntry.add(String path, AnyObjectId id) private static DiffEntryRenameDetector.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 DiffEntryDiffEntry.delete(String path, AnyObjectId id) private static DiffEntryprivate static DiffEntryRenameDetector.exactRename(DiffEntry src, DiffEntry dst) (package private) static DiffEntry(package private) static DiffEntryDiffEntry.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 onincludeTreesit will add tree objects into result or not.DiffEntry.scan(TreeWalk walk, boolean includeTrees, TreeFilter[] markTreeFilters) Convert the TreeWalk into DiffEntry headers, depending onincludeTreesit 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 TypeMethodDescriptionvoidAdd an entry to be considered for rename detection.private static DiffEntryRenameDetector.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 intRenameDetector.calculateModifyScore(ContentSource.Pair reader, DiffEntry d) private DiffFormatter.FormatResultDiffFormatter.createFormatResult(DiffEntry ent) private static DiffEntryprivate static DiffEntryRenameDetector.exactRename(DiffEntry src, DiffEntry dst) voidFormat a patch script for one file entry.private voidDiffFormatter.formatHeader(ByteArrayOutputStream o, DiffEntry ent) protected voidDiffFormatter.formatIndexLine(OutputStream o, DiffEntry ent) Format index lineprotected voidPatchIdDiffFormatter.formatIndexLine(OutputStream o, DiffEntry ent) Format index lineprivate voidDiffFormatter.formatOldNewPaths(ByteArrayOutputStream o, DiffEntry ent) private static AbbreviatedObjectIdprivate static booleanprivate static FileModeContentSource.Pair.open(DiffEntry.Side side, DiffEntry ent) Open the object.private RawTextDiffFormatter.open(DiffEntry.Side side, DiffEntry entry) (package private) static DiffEntryDiffEntry.pair(DiffEntry.ChangeType changeType, DiffEntry src, DiffEntry dst, int score) private static StringlongContentSource.Pair.size(DiffEntry.Side side, DiffEntry ent) Determine the size of the object.private longSimilarityRenameDetector.size(DiffEntry.Side side, DiffEntry ent) DiffFormatter.toFileHeader(DiffEntry ent) Creates aFileHeaderrepresenting the givenDiffEntryMethod parameters in org.eclipse.jgit.diff with type arguments of type DiffEntryModifier and TypeMethodDescriptionvoidRenameDetector.addAll(Collection<DiffEntry> entriesToAdd) Add entries to be considered for rename detection.private static DiffEntryRenameDetector.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) voidFormat a patch script from a list of difference entries.private booleanprivate 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 TypeClassDescriptionclassA file in the Git "diff --cc" or "diff --combined" format.classPatch header describing an action for a single file path. -
Uses of DiffEntry in org.eclipse.jgit.pgm
Methods in org.eclipse.jgit.pgm that return types with arguments of type DiffEntryMethod parameters in org.eclipse.jgit.pgm with type arguments of type DiffEntryModifier and TypeMethodDescriptionprivate void(package private) static voidDiff.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