Uses of Class
org.eclipse.jgit.diff.DiffEntry
-
Packages that use DiffEntry Package Description org.eclipse.jgit.api High-level API commands (the porcelain of JGit).org.eclipse.jgit.blame Computing blame/annotate information of files.org.eclipse.jgit.diff Comparing file contents by computing diffs.org.eclipse.jgit.patch Patch file parser and data structure.org.eclipse.jgit.pgm org.eclipse.jgit.revwalk 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 Modifier and Type Method Description java.util.List<DiffEntry>DiffCommand. call() -
Uses of DiffEntry in org.eclipse.jgit.blame
Methods in org.eclipse.jgit.blame that return DiffEntry Modifier and Type Method Description private DiffEntryBlameGenerator. findRename(RevCommit parent, RevCommit commit, PathFilter path)Methods in org.eclipse.jgit.blame with parameters of type DiffEntry Modifier and Type Method Description private static booleanBlameGenerator. isRename(DiffEntry ent) -
Uses of DiffEntry in org.eclipse.jgit.diff
Fields in org.eclipse.jgit.diff with type parameters of type DiffEntry Modifier and Type Field Description private java.util.List<DiffEntry>RenameDetector. addedprivate java.util.List<DiffEntry>RenameDetector. deletedprivate static java.util.Comparator<DiffEntry>RenameDetector. DIFF_COMPARATORprivate java.util.List<DiffEntry>SimilarityRenameDetector. dstsAll destinations to consider looking for a rename.private java.util.List<DiffEntry>RenameDetector. entriesprivate java.util.List<DiffEntry>SimilarityRenameDetector. outprivate java.util.List<DiffEntry>SimilarityRenameDetector. srcsAll sources to consider for copies or renames.Methods in org.eclipse.jgit.diff that return DiffEntry Modifier and Type Method Description (package private) static DiffEntryDiffEntry. add(java.lang.String path, AnyObjectId id)private static DiffEntryRenameDetector. bestPathMatch(DiffEntry src, java.util.List<DiffEntry> list)Find the best match by file path for a given DiffEntry from a list of DiffEntrys.(package private) static DiffEntryDiffEntry. delete(java.lang.String path, AnyObjectId id)private static DiffEntryRenameDetector. exactCopy(DiffEntry src, DiffEntry dst)private static DiffEntryRenameDetector. exactRename(DiffEntry src, DiffEntry dst)(package private) static DiffEntryDiffEntry. modify(java.lang.String path)(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 DiffEntry Modifier and Type Method Description (package private) static java.util.List<DiffEntry>DiffEntry. breakModify(DiffEntry entry)Breaks apart a DiffEntry into two entries, one DELETE and one ADD.private static java.util.List<DiffEntry>SimilarityRenameDetector. compactDstList(java.util.List<DiffEntry> in)private static java.util.List<DiffEntry>SimilarityRenameDetector. compactSrcList(java.util.List<DiffEntry> in)java.util.List<DiffEntry>RenameDetector. compute()Detect renames in the current file set.java.util.List<DiffEntry>RenameDetector. compute(ContentSource.Pair reader, ProgressMonitor pm)Detect renames in the current file set.java.util.List<DiffEntry>RenameDetector. compute(ObjectReader reader, ProgressMonitor pm)Detect renames in the current file set.java.util.List<DiffEntry>RenameDetector. compute(ProgressMonitor pm)Detect renames in the current file set.private java.util.List<DiffEntry>DiffFormatter. detectRenames(java.util.List<DiffEntry> files)(package private) java.util.List<DiffEntry>SimilarityRenameDetector. getLeftOverDestinations()(package private) java.util.List<DiffEntry>SimilarityRenameDetector. getLeftOverSources()(package private) java.util.List<DiffEntry>SimilarityRenameDetector. getMatches()static java.util.List<DiffEntry>DiffEntry. scan(TreeWalk walk)Convert the TreeWalk into DiffEntry headers.static java.util.List<DiffEntry>DiffEntry. scan(TreeWalk walk, boolean includeTrees)Convert the TreeWalk into DiffEntry headers, depending onincludeTreesit will add tree objects into result or not.static java.util.List<DiffEntry>DiffEntry. scan(TreeWalk walk, boolean includeTrees, TreeFilter[] markTreeFilters)Convert the TreeWalk into DiffEntry headers, depending onincludeTreesit will add tree objects into result or not.java.util.List<DiffEntry>DiffFormatter. scan(AnyObjectId a, AnyObjectId b)Determine the differences between two trees.java.util.List<DiffEntry>DiffFormatter. scan(RevTree a, RevTree b)Determine the differences between two trees.java.util.List<DiffEntry>DiffFormatter. scan(AbstractTreeIterator a, AbstractTreeIterator b)Determine the differences between two trees.private java.util.List<DiffEntry>DiffFormatter. updateFollowFilter(java.util.List<DiffEntry> files)Methods in org.eclipse.jgit.diff with parameters of type DiffEntry Modifier and Type Method Description voidRenameDetector. add(DiffEntry entry)Add an entry to be considered for rename detection.private static DiffEntryRenameDetector. bestPathMatch(DiffEntry src, java.util.List<DiffEntry> list)Find the best match by file path for a given DiffEntry from a list of DiffEntrys.(package private) static java.util.List<DiffEntry>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 DiffEntryRenameDetector. exactCopy(DiffEntry src, DiffEntry dst)private static DiffEntryRenameDetector. exactRename(DiffEntry src, DiffEntry dst)voidDiffFormatter. format(DiffEntry ent)Format a patch script for one file entry.private voidDiffFormatter. formatHeader(java.io.ByteArrayOutputStream o, DiffEntry ent)protected voidDiffFormatter. formatIndexLine(java.io.OutputStream o, DiffEntry ent)Format index lineprotected voidPatchIdDiffFormatter. formatIndexLine(java.io.OutputStream o, DiffEntry ent)Format index lineprivate voidDiffFormatter. formatOldNewPaths(java.io.ByteArrayOutputStream o, DiffEntry ent)private SimilarityIndexSimilarityRenameDetector. hash(DiffEntry.Side side, DiffEntry ent)private static AbbreviatedObjectIdRenameDetector. id(DiffEntry de)private static booleanDiffFormatter. isRename(DiffEntry ent)private static FileModeRenameDetector. mode(DiffEntry de)ObjectLoaderContentSource.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 java.lang.StringRenameDetector. path(DiffEntry de)longContentSource.Pair. size(DiffEntry.Side side, DiffEntry ent)Determine the size of the object.private longSimilarityRenameDetector. size(DiffEntry.Side side, DiffEntry ent)FileHeaderDiffFormatter. toFileHeader(DiffEntry ent)Creates aFileHeaderrepresenting the givenDiffEntryMethod parameters in org.eclipse.jgit.diff with type arguments of type DiffEntry Modifier and Type Method Description voidRenameDetector. addAll(java.util.Collection<DiffEntry> entriesToAdd)Add entries to be considered for rename detection.private static DiffEntryRenameDetector. bestPathMatch(DiffEntry src, java.util.List<DiffEntry> list)Find the best match by file path for a given DiffEntry from a list of DiffEntrys.private static java.util.List<DiffEntry>SimilarityRenameDetector. compactDstList(java.util.List<DiffEntry> in)private static java.util.List<DiffEntry>SimilarityRenameDetector. compactSrcList(java.util.List<DiffEntry> in)private java.util.List<DiffEntry>DiffFormatter. detectRenames(java.util.List<DiffEntry> files)voidDiffFormatter. format(java.util.List<? extends DiffEntry> entries)Format a patch script from a list of difference entries.private booleanDiffFormatter. isAdd(java.util.List<DiffEntry> files)private java.util.HashMap<AbbreviatedObjectId,java.lang.Object>RenameDetector. populateMap(java.util.List<DiffEntry> diffEntries, ProgressMonitor pm)private java.util.List<DiffEntry>DiffFormatter. updateFollowFilter(java.util.List<DiffEntry> files)Constructor parameters in org.eclipse.jgit.diff with type arguments of type DiffEntry Constructor Description SimilarityRenameDetector(ContentSource.Pair reader, java.util.List<DiffEntry> srcs, java.util.List<DiffEntry> dsts) -
Uses of DiffEntry in org.eclipse.jgit.patch
Subclasses of DiffEntry in org.eclipse.jgit.patch Modifier and Type Class Description classCombinedFileHeaderA file in the Git "diff --cc" or "diff --combined" format.classFileHeaderPatch 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 DiffEntry Modifier and Type Method Description (package private) static voidDiff. nameStatus(ThrowingPrintWriter out, java.util.List<DiffEntry> files) -
Uses of DiffEntry in org.eclipse.jgit.revwalk
Methods in org.eclipse.jgit.revwalk with parameters of type DiffEntry Modifier and Type Method Description private static booleanTreeRevFilter. isRename(DiffEntry ent)abstract voidRenameCallback. renamed(DiffEntry entry)Called whenever a diff was found that is actually a rename or copy of a file.
-