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).
|
Modifier and Type | Method and Description |
---|---|
private static AttributesNode |
AttributesHandler.attributesNode(TreeWalk treeWalk,
WorkingTreeIterator workingTreeIterator,
DirCacheIterator dirCacheIterator,
CanonicalTreeParser otherTree)
Get the
AttributesNode 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.
|
Modifier and Type | Method and Description |
---|---|
private static CanonicalTreeParser |
DirCacheBuilder.createTreeParser(byte[] pathPrefix,
ObjectReader reader,
AnyObjectId tree) |
private static CanonicalTreeParser |
DirCacheBuilder.enterTree(CanonicalTreeParser p,
ObjectReader reader) |
Modifier and Type | Method and 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 h,
CanonicalTreeParser m,
DirCacheBuildIterator i,
WorkingTreeIterator f)
Here the main work is done.
|
(package private) void |
DirCacheCheckout.processEntry(CanonicalTreeParser m,
DirCacheBuildIterator i,
WorkingTreeIterator f)
Processing an entry in the context of
DirCacheCheckout.prescanOneTree() when only
one tree is given |
private static DirCacheEntry |
DirCacheBuilder.toEntry(int stage,
CanonicalTreeParser i) |
Modifier and Type | Field and Description |
---|---|
private CanonicalTreeParser |
BaseSearch.parser |
Modifier and Type | Method and Description |
---|---|
private static CanonicalTreeParser |
Scanner.createParserAtPath(ObjectReader reader,
AnyObjectId srcId,
java.lang.String prefix) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
private DirCacheEntry |
ResolveMerger.add(byte[] path,
CanonicalTreeParser p,
int stage,
long lastMod,
long len)
adds a new path with the specified stage to the index builder
|
private MergeResult<RawText> |
ResolveMerger.contentMerge(CanonicalTreeParser base,
CanonicalTreeParser ours,
CanonicalTreeParser theirs,
Attributes attributes)
Does the content merge.
|
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.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
NoteParser
Custom tree parser to select note bucket type and load it.
|
Modifier and Type | Method and 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 only
|
CanonicalTreeParser |
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.
|
Constructor and Description |
---|
CanonicalTreeParser(CanonicalTreeParser p) |