Uses of Class
org.eclipse.jgit.treewalk.CanonicalTreeParser
-
Packages that use CanonicalTreeParser Package Description org.eclipse.jgit.attributes Support for reading .gitattributes.org.eclipse.jgit.dircache Reading and editing the directory cache (index).org.eclipse.jgit.internal.storage.pack Reading/writing Git pack files.org.eclipse.jgit.internal.storage.reftree org.eclipse.jgit.merge Content and commit history merge algorithms.org.eclipse.jgit.notes Git notes processing (for commits, etc).org.eclipse.jgit.treewalk Walking and comparing directory/file trees (of commits, file system). -
-
Uses of CanonicalTreeParser in org.eclipse.jgit.attributes
Methods in org.eclipse.jgit.attributes with parameters of type CanonicalTreeParser Modifier and Type Method Description private static AttributesNode
AttributesHandler. attributesNode(TreeWalk treeWalk, WorkingTreeIterator workingTreeIterator, DirCacheIterator dirCacheIterator, CanonicalTreeParser otherTree)
Get theAttributesNode
for the current entry.private void
AttributesHandler. mergePerDirectoryEntryAttributes(java.lang.String entryPath, int nameRoot, boolean isDirectory, WorkingTreeIterator workingTreeIterator, DirCacheIterator dirCacheIterator, CanonicalTreeParser otherTree, Attributes result)
Merges the matching working directory attributes for an entry path. -
Uses of CanonicalTreeParser in org.eclipse.jgit.dircache
Methods in org.eclipse.jgit.dircache that return CanonicalTreeParser Modifier and Type Method Description private static CanonicalTreeParser
DirCacheBuilder. createTreeParser(byte[] pathPrefix, ObjectReader reader, AnyObjectId tree)
private static CanonicalTreeParser
DirCacheBuilder. enterTree(CanonicalTreeParser p, ObjectReader reader)
Methods in org.eclipse.jgit.dircache with parameters of type CanonicalTreeParser Modifier and Type Method Description private static void
DirCacheCheckout. checkValidPath(CanonicalTreeParser t)
private static void
DirCacheCheckout. checkValidPathSegment(ObjectChecker chk, CanonicalTreeParser t)
private static CanonicalTreeParser
DirCacheBuilder. enterTree(CanonicalTreeParser p, ObjectReader reader)
private static boolean
DirCacheBuilder. isTree(CanonicalTreeParser p)
(package private) void
DirCacheCheckout. processEntry(CanonicalTreeParser m, DirCacheBuildIterator i, WorkingTreeIterator f)
Processing an entry in the context ofDirCacheCheckout.prescanOneTree()
when only one tree is given(package private) void
DirCacheCheckout. processEntry(CanonicalTreeParser h, CanonicalTreeParser m, DirCacheBuildIterator i, WorkingTreeIterator f)
Here the main work is done.private static DirCacheEntry
DirCacheBuilder. toEntry(int stage, CanonicalTreeParser i)
-
Uses of CanonicalTreeParser in org.eclipse.jgit.internal.storage.pack
Fields in org.eclipse.jgit.internal.storage.pack declared as CanonicalTreeParser Modifier and Type Field Description private CanonicalTreeParser
BaseSearch. parser
-
Uses of CanonicalTreeParser in org.eclipse.jgit.internal.storage.reftree
Methods in org.eclipse.jgit.internal.storage.reftree that return CanonicalTreeParser Modifier and Type Method Description private static CanonicalTreeParser
Scanner. createParserAtPath(ObjectReader reader, AnyObjectId srcId, java.lang.String prefix)
Methods in org.eclipse.jgit.internal.storage.reftree with parameters of type CanonicalTreeParser Modifier and Type Method Description private static void
Scanner. peel(RefList.Builder<Ref> all, CanonicalTreeParser p)
private static java.lang.String
Scanner. refName(CanonicalTreeParser p, boolean peel)
private static Ref
Scanner. toRef(ObjectReader reader, int mode, CanonicalTreeParser p)
-
Uses of CanonicalTreeParser in org.eclipse.jgit.merge
Methods in org.eclipse.jgit.merge with parameters of type CanonicalTreeParser Modifier and Type Method Description private DirCacheEntry
ResolveMerger. add(byte[] path, CanonicalTreeParser p, int stage, java.time.Instant lastMod, long len)
adds a new path with the specified stage to the index builderprivate MergeResult<RawText>
ResolveMerger. contentMerge(CanonicalTreeParser base, CanonicalTreeParser ours, CanonicalTreeParser theirs, Attributes attributes)
Does the content merge.private static MergeResult<SubmoduleConflict>
ResolveMerger. createGitLinksMergeResult(CanonicalTreeParser base, CanonicalTreeParser ours, CanonicalTreeParser theirs)
protected boolean
ResolveMerger. processEntry(CanonicalTreeParser base, CanonicalTreeParser ours, CanonicalTreeParser theirs, DirCacheBuildIterator index, WorkingTreeIterator work, boolean ignoreConflicts, Attributes attributes)
Processes one path and tries to merge taking git attributes in account.private void
ResolveMerger. updateIndex(CanonicalTreeParser base, CanonicalTreeParser ours, CanonicalTreeParser theirs, MergeResult<RawText> result, Attributes attributes)
Updates the index after a content merge has happened. -
Uses of CanonicalTreeParser in org.eclipse.jgit.notes
Subclasses of CanonicalTreeParser in org.eclipse.jgit.notes Modifier and Type Class Description (package private) class
NoteParser
Custom tree parser to select note bucket type and load it. -
Uses of CanonicalTreeParser in org.eclipse.jgit.treewalk
Methods in org.eclipse.jgit.treewalk that return CanonicalTreeParser Modifier and Type Method Description CanonicalTreeParser
CanonicalTreeParser. createSubtreeIterator(ObjectReader reader)
Create a new iterator for the current entry's subtree.CanonicalTreeParser
CanonicalTreeParser. createSubtreeIterator(ObjectReader reader, MutableObjectId idBuffer)
Create a new iterator for the current entry's subtree.CanonicalTreeParser
CanonicalTreeParser. createSubtreeIterator0(ObjectReader reader, AnyObjectId id)
Back door to quickly create a subtree iterator for any subtree.CanonicalTreeParser
CanonicalTreeParser. getParent()
Deprecated.internal use onlyCanonicalTreeParser
CanonicalTreeParser. next()
Get this iterator, or its parent, if the tree is at eof.private CanonicalTreeParser
TreeWalk. parserFor(AnyObjectId id)
CanonicalTreeParser
CanonicalTreeParser. resetRoot(ObjectReader reader, AnyObjectId id)
Reset this parser to walk through the given tree.Constructors in org.eclipse.jgit.treewalk with parameters of type CanonicalTreeParser Constructor Description CanonicalTreeParser(CanonicalTreeParser p)
-