Package | Description |
---|---|
org.eclipse.jgit.api |
High-level API commands (the porcelain of JGit).
|
org.eclipse.jgit.diff |
Comparing file contents by computing diffs.
|
org.eclipse.jgit.dircache |
Reading and editing the directory cache (index).
|
org.eclipse.jgit.merge |
Content and commit history merge algorithms.
|
org.eclipse.jgit.pgm.opt | |
org.eclipse.jgit.submodule |
Git submodule support.
|
org.eclipse.jgit.treewalk |
Walking and comparing directory/file trees (of commits, file system).
|
Modifier and Type | Method and Description |
---|---|
DiffCommand |
DiffCommand.setNewTree(AbstractTreeIterator newTree) |
DiffCommand |
DiffCommand.setOldTree(AbstractTreeIterator oldTree) |
Modifier and Type | Method and Description |
---|---|
void |
DiffFormatter.format(AbstractTreeIterator a,
AbstractTreeIterator b)
Format the differences between two trees.
|
List<DiffEntry> |
DiffFormatter.scan(AbstractTreeIterator a,
AbstractTreeIterator b)
Determine the differences between two trees.
|
Modifier and Type | Class and Description |
---|---|
class |
DirCacheBuildIterator
Iterate and update a
DirCache as part of a TreeWalk . |
class |
DirCacheIterator
Iterate a
DirCache as part of a TreeWalk . |
Modifier and Type | Method and Description |
---|---|
AbstractTreeIterator |
DirCacheIterator.createSubtreeIterator(ObjectReader reader) |
AbstractTreeIterator |
DirCacheBuildIterator.createSubtreeIterator(ObjectReader reader) |
Modifier and Type | Method and Description |
---|---|
protected AbstractTreeIterator |
ThreeWayMerger.mergeBase()
Create an iterator to walk the merge base.
|
protected AbstractTreeIterator |
Merger.openTree(AnyObjectId treeId)
Open an iterator over a tree.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
ResolveMerger.mergeTrees(AbstractTreeIterator baseTree,
RevTree headTree,
RevTree mergeTree,
boolean ignoreConflicts)
The resolve conflict way of three way merging
|
Constructor and Description |
---|
AbstractTreeIteratorHandler(org.kohsuke.args4j.CmdLineParser parser,
org.kohsuke.args4j.OptionDef option,
org.kohsuke.args4j.spi.Setter<? super AbstractTreeIterator> setter)
Create a new handler for the command name.
|
Modifier and Type | Method and Description |
---|---|
static SubmoduleWalk |
SubmoduleWalk.forPath(Repository repository,
AbstractTreeIterator iterator,
String path)
Create a generator and advance it to the submodule entry at the given
path
|
SubmoduleWalk |
SubmoduleWalk.setRootTree(AbstractTreeIterator tree)
Set the tree used by this walk for finding
.gitmodules . |
SubmoduleWalk |
SubmoduleWalk.setTree(AbstractTreeIterator iterator)
Set the tree iterator used for finding submodule entries
|
Modifier and Type | Class and Description |
---|---|
class |
CanonicalTreeParser
Parses raw Git trees from the canonical semi-text/semi-binary format.
|
class |
EmptyTreeIterator
Iterator over an empty tree (a directory with no files).
|
class |
FileTreeIterator
Working directory iterator for standard Java IO.
|
class |
WorkingTreeIterator
Walks a working directory tree as part of a
TreeWalk . |
Modifier and Type | Field and Description |
---|---|
AbstractTreeIterator |
AbstractTreeIterator.parent
Iterator for the parent tree; null if we are the root iterator.
|
Modifier and Type | Method and Description |
---|---|
<T extends AbstractTreeIterator> |
TreeWalk.getTree(Class<T> type) |
<T extends AbstractTreeIterator> |
TreeWalk.getTree(int nth,
Class<T> clazz)
Obtain the tree iterator for the current entry.
|
Modifier and Type | Method and Description |
---|---|
AbstractTreeIterator |
FileTreeIterator.createSubtreeIterator(ObjectReader reader) |
AbstractTreeIterator |
EmptyTreeIterator.createSubtreeIterator(ObjectReader reader) |
abstract AbstractTreeIterator |
AbstractTreeIterator.createSubtreeIterator(ObjectReader reader)
Create a new iterator for the current entry's subtree.
|
AbstractTreeIterator |
AbstractTreeIterator.createSubtreeIterator(ObjectReader reader,
MutableObjectId idBuffer)
Create a new iterator for the current entry's subtree.
|
Modifier and Type | Method and Description |
---|---|
int |
TreeWalk.addTree(AbstractTreeIterator p)
Add an already created tree iterator for walking.
|
boolean |
AbstractTreeIterator.idEqual(AbstractTreeIterator otherIterator)
Check if the current entry of both iterators has the same id.
|
int |
AbstractTreeIterator.pathCompare(AbstractTreeIterator p)
Compare the path of this current entry to another iterator's entry.
|
Constructor and Description |
---|
AbstractTreeIterator(AbstractTreeIterator p)
Create an iterator for a subtree of an existing iterator.
|
AbstractTreeIterator(AbstractTreeIterator p,
byte[] childPath,
int childPathOffset)
Create an iterator for a subtree of an existing iterator.
|
EmptyTreeIterator(AbstractTreeIterator p,
byte[] childPath,
int childPathOffset)
Create an iterator for a subtree of an existing iterator.
|
Copyright © 2017 Eclipse JGit Project. All rights reserved.