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.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 AttributesNodeAttributesHandler. attributesNode(TreeWalk treeWalk, WorkingTreeIterator workingTreeIterator, DirCacheIterator dirCacheIterator, CanonicalTreeParser otherTree)Get theAttributesNodefor the current entry.private voidAttributesHandler. 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 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 CanonicalTreeParser Modifier and Type Method Description private 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) -
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 CanonicalTreeParserBaseSearch. parser -
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 DirCacheEntryResolveMerger. 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 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.notes Modifier and Type Class Description (package private) classNoteParserCustom 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 CanonicalTreeParserCanonicalTreeParser. createSubtreeIterator(ObjectReader reader)Create a new iterator for the current entry's subtree.CanonicalTreeParserCanonicalTreeParser. createSubtreeIterator(ObjectReader reader, MutableObjectId idBuffer)Create a new iterator for the current entry's subtree.CanonicalTreeParserCanonicalTreeParser. createSubtreeIterator0(ObjectReader reader, AnyObjectId id)Back door to quickly create a subtree iterator for any subtree.CanonicalTreeParserCanonicalTreeParser. getParent()Deprecated.internal use onlyCanonicalTreeParserCanonicalTreeParser. next()Get this iterator, or its parent, if the tree is at eof.private CanonicalTreeParserTreeWalk. parserFor(AnyObjectId id)CanonicalTreeParserCanonicalTreeParser. 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)
-