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
Fields in org.eclipse.jgit.attributes with type parameters of type CanonicalTreeParserModifier and TypeFieldDescriptionprivate final Supplier<CanonicalTreeParser>AttributesHandler.attributesTreeMethods in org.eclipse.jgit.attributes with parameters of type CanonicalTreeParserModifier and TypeMethodDescriptionprivate static AttributesNodeAttributesHandler.attributesNode(TreeWalk treeWalk, WorkingTreeIterator workingTreeIterator, DirCacheIterator dirCacheIterator, CanonicalTreeParser otherTree) Get theAttributesNodefor the current entry.private voidAttributesHandler.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.Constructor parameters in org.eclipse.jgit.attributes with type arguments of type CanonicalTreeParserModifierConstructorDescriptionAttributesHandler(TreeWalk treeWalk, Supplier<CanonicalTreeParser> attributesTree) Create anAttributesHandlerwith default rules as well as merged rules from global, info and worktree root attributes -
Uses of CanonicalTreeParser in org.eclipse.jgit.dircache
Methods in org.eclipse.jgit.dircache that return CanonicalTreeParserModifier and TypeMethodDescriptionprivate static CanonicalTreeParserDirCacheBuilder.createTreeParser(byte[] pathPrefix, ObjectReader reader, AnyObjectId tree) private static CanonicalTreeParserDirCacheBuilder.enterTree(CanonicalTreeParser p, ObjectReader reader) Methods in org.eclipse.jgit.dircache with parameters of type CanonicalTreeParserModifier and TypeMethodDescriptionprivate static voidDirCacheCheckout.checkValidPath(CanonicalTreeParser t) private static voidDirCacheCheckout.checkValidPathSegment(ObjectChecker chk, CanonicalTreeParser t) private static CanonicalTreeParserDirCacheBuilder.enterTree(CanonicalTreeParser p, ObjectReader reader) private static booleanDirCacheBuilder.isTree(CanonicalTreeParser p) (package private) voidDirCacheCheckout.processEntry(CanonicalTreeParser m, DirCacheBuildIterator i, WorkingTreeIterator f) Processing an entry in the context ofDirCacheCheckout.prescanOneTree()when only one tree is given(package private) voidDirCacheCheckout.processEntry(CanonicalTreeParser h, CanonicalTreeParser m, DirCacheBuildIterator i, WorkingTreeIterator f) Here the main work is done.private static DirCacheEntryDirCacheBuilder.toEntry(int stage, CanonicalTreeParser i) private voidDirCacheCheckout.update(CanonicalTreeParser tree) -
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 DirCacheEntryResolveMerger.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, ContentMergeStrategy strategy) Does the content merge.private static MergeResult<SubmoduleConflict>ResolveMerger.createGitLinksMergeResult(CanonicalTreeParser base, CanonicalTreeParser ours, CanonicalTreeParser theirs) protected booleanResolveMerger.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 voidResolveMerger.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 classCustom 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 CanonicalTreeParserCanonicalTreeParser.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 CanonicalTreeParserTreeWalk.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