Uses of Class
org.eclipse.jgit.treewalk.CanonicalTreeParser
Packages that use CanonicalTreeParser
Package
Description
Support for reading .gitattributes.
Reading and editing the directory cache (index).
Reading/writing Git pack files.
Content and commit history merge algorithms.
Git notes processing (for commits, etc).
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 CanonicalTreeParserModifier and TypeMethodDescriptionprivate static AttributesNode
AttributesHandler.attributesNode
(TreeWalk treeWalk, WorkingTreeIterator workingTreeIterator, DirCacheIterator dirCacheIterator, CanonicalTreeParser otherTree) Get theAttributesNode
for the current entry.private void
AttributesHandler.mergePerDirectoryEntryAttributes
(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 CanonicalTreeParserModifier and TypeMethodDescriptionprivate 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 CanonicalTreeParserModifier and TypeMethodDescriptionprivate 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 -
Uses of CanonicalTreeParser in org.eclipse.jgit.merge
Methods in org.eclipse.jgit.merge with parameters of type CanonicalTreeParserModifier and TypeMethodDescriptionprivate DirCacheEntry
ResolveMerger.add
(byte[] path, CanonicalTreeParser p, int stage, 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.notesModifier and TypeClassDescription(package private) final class
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 CanonicalTreeParserModifier and TypeMethodDescriptionCanonicalTreeParser.createSubtreeIterator
(ObjectReader reader) Create a new iterator for the current entry's subtree.CanonicalTreeParser.createSubtreeIterator
(ObjectReader reader, MutableObjectId idBuffer) Create a new iterator for the current entry's subtree.final CanonicalTreeParser
CanonicalTreeParser.createSubtreeIterator0
(ObjectReader reader, AnyObjectId id) Back door to quickly create a subtree iterator for any subtree.CanonicalTreeParser.getParent()
Deprecated.internal use onlyCanonicalTreeParser.next()
Get this iterator, or its parent, if the tree is at eof.private CanonicalTreeParser
TreeWalk.parserFor
(AnyObjectId id) 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