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 DiffEntry
BlameGenerator. 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 boolean
BlameGenerator. 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. added
private java.util.List<DiffEntry>
RenameDetector. deleted
private static java.util.Comparator<DiffEntry>
RenameDetector. DIFF_COMPARATOR
private java.util.List<DiffEntry>
SimilarityRenameDetector. dsts
All destinations to consider looking for a rename.private java.util.List<DiffEntry>
RenameDetector. entries
private java.util.List<DiffEntry>
SimilarityRenameDetector. out
private java.util.List<DiffEntry>
SimilarityRenameDetector. srcs
All sources to consider for copies or renames.Methods in org.eclipse.jgit.diff that return DiffEntry Modifier and Type Method Description (package private) static DiffEntry
DiffEntry. add(java.lang.String path, AnyObjectId id)
private static DiffEntry
RenameDetector. 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 DiffEntry
DiffEntry. delete(java.lang.String path, AnyObjectId id)
private static DiffEntry
RenameDetector. exactCopy(DiffEntry src, DiffEntry dst)
private static DiffEntry
RenameDetector. exactRename(DiffEntry src, DiffEntry dst)
(package private) static DiffEntry
DiffEntry. modify(java.lang.String path)
(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 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 onincludeTrees
it 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 onincludeTrees
it 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 void
RenameDetector. add(DiffEntry entry)
Add an entry to be considered for rename detection.private static DiffEntry
RenameDetector. 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 int
RenameDetector. calculateModifyScore(ContentSource.Pair reader, DiffEntry d)
private DiffFormatter.FormatResult
DiffFormatter. createFormatResult(DiffEntry ent)
private static DiffEntry
RenameDetector. exactCopy(DiffEntry src, DiffEntry dst)
private static DiffEntry
RenameDetector. exactRename(DiffEntry src, DiffEntry dst)
void
DiffFormatter. format(DiffEntry ent)
Format a patch script for one file entry.private void
DiffFormatter. formatHeader(java.io.ByteArrayOutputStream o, DiffEntry ent)
protected void
DiffFormatter. formatIndexLine(java.io.OutputStream o, DiffEntry ent)
Format index lineprotected void
PatchIdDiffFormatter. formatIndexLine(java.io.OutputStream o, DiffEntry ent)
Format index lineprivate void
DiffFormatter. formatOldNewPaths(java.io.ByteArrayOutputStream o, DiffEntry ent)
private static AbbreviatedObjectId
RenameDetector. id(DiffEntry de)
private static boolean
DiffFormatter. isRename(DiffEntry ent)
private static FileMode
RenameDetector. mode(DiffEntry de)
ObjectLoader
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 java.lang.String
RenameDetector. path(DiffEntry de)
long
ContentSource.Pair. size(DiffEntry.Side side, DiffEntry ent)
Determine the size of the object.private long
SimilarityRenameDetector. size(DiffEntry.Side side, DiffEntry ent)
FileHeader
DiffFormatter. toFileHeader(DiffEntry ent)
Creates aFileHeader
representing the givenDiffEntry
Method parameters in org.eclipse.jgit.diff with type arguments of type DiffEntry Modifier and Type Method Description void
RenameDetector. addAll(java.util.Collection<DiffEntry> entriesToAdd)
Add entries to be considered for rename detection.private static DiffEntry
RenameDetector. 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)
void
DiffFormatter. format(java.util.List<? extends DiffEntry> entries)
Format a patch script from a list of difference entries.private boolean
DiffFormatter. 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 class
CombinedFileHeader
A file in the Git "diff --cc" or "diff --combined" format.class
FileHeader
Patch 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 DiffEntry Modifier and Type Method Description private java.util.List<DiffEntry>
DiffTool. getFiles()
Method parameters in org.eclipse.jgit.pgm with type arguments of type DiffEntry Modifier and Type Method Description private void
DiffTool. compare(java.util.List<DiffEntry> files, boolean showPrompt, java.lang.String toolNamePrompt)
(package private) static void
Diff. 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 boolean
TreeRevFilter. isRename(DiffEntry ent)
abstract void
RenameCallback. renamed(DiffEntry entry)
Called whenever a diff was found that is actually a rename or copy of a file.
-