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.lib |
Core API for repository, config, refs, object database.
|
org.eclipse.jgit.merge |
Content and commit history merge algorithms.
|
org.eclipse.jgit.treewalk |
Walking and comparing directory/file trees (of commits, file system).
|
Modifier and Type | Method | Description |
---|---|---|
StatusCommand |
StatusCommand.setWorkingTreeIt(WorkingTreeIterator workingTreeIt) |
To set the
WorkingTreeIterator which should be used. |
AddCommand |
AddCommand.setWorkingTreeIterator(WorkingTreeIterator f) |
Allow clients to provide their own implementation of a FileTreeIterator
|
Modifier and Type | Method | Description |
---|---|---|
static ContentSource |
ContentSource.create(WorkingTreeIterator iterator) |
Construct a content source for a working directory.
|
Constructor | Description |
---|---|
DirCacheCheckout(Repository repo,
DirCache dc,
ObjectId mergeCommitTree,
WorkingTreeIterator workingTree) |
Constructs a DirCacheCeckout for checking out one tree, merging with the
index.
|
DirCacheCheckout(Repository repo,
ObjectId headCommitTree,
DirCache dc,
ObjectId mergeCommitTree,
WorkingTreeIterator workingTree) |
Constructs a DirCacheCeckout for merging and checking out two trees (HEAD
and mergeCommitTree) and the index.
|
Modifier and Type | Method | Description |
---|---|---|
WorkingTreeIterator |
IndexDiff.WorkingTreeIteratorFactory.getWorkingTreeIterator(Repository repo) |
Constructor | Description |
---|---|
IndexDiff(Repository repository,
String revstr,
WorkingTreeIterator workingTreeIterator) |
Construct an IndexDiff
|
IndexDiff(Repository repository,
ObjectId objectId,
WorkingTreeIterator workingTreeIterator) |
Construct an Indexdiff
|
Modifier and Type | Field | Description |
---|---|---|
protected WorkingTreeIterator |
ResolveMerger.workingTreeIterator |
The iterator to access the working tree.
|
Modifier and Type | Method | Description |
---|---|---|
protected boolean |
ResolveMerger.processEntry(CanonicalTreeParser base,
CanonicalTreeParser ours,
CanonicalTreeParser theirs,
DirCacheBuildIterator index,
WorkingTreeIterator work,
boolean ignoreConflicts) |
Processes one path and tries to merge.
|
void |
ResolveMerger.setWorkingTreeIterator(WorkingTreeIterator workingTreeIterator) |
Sets the WorkingTreeIterator to be used by this merger.
|
Modifier and Type | Class | Description |
---|---|---|
class |
FileTreeIterator |
Working directory iterator for standard Java IO.
|
Constructor | Description |
---|---|
FileTreeIterator(WorkingTreeIterator p,
File root,
FS fs) |
Create a new iterator to traverse a subdirectory.
|
WorkingTreeIterator(WorkingTreeIterator p) |
Create an iterator for a subtree of an existing iterator.
|
Copyright © 2018. All rights reserved.