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 and 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 and Description |
---|---|
static ContentSource |
ContentSource.create(WorkingTreeIterator iterator)
Construct a content source for a working directory.
|
Constructor and 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 and Description |
---|---|
WorkingTreeIterator |
IndexDiff.WorkingTreeIteratorFactory.getWorkingTreeIterator(Repository repo) |
Constructor and Description |
---|
IndexDiff(Repository repository,
ObjectId objectId,
WorkingTreeIterator workingTreeIterator)
Construct an Indexdiff
|
IndexDiff(Repository repository,
String revstr,
WorkingTreeIterator workingTreeIterator)
Construct an IndexDiff
|
Modifier and Type | Field and Description |
---|---|
protected WorkingTreeIterator |
ResolveMerger.workingTreeIterator
The iterator to access the working tree.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
ResolveMerger.processEntry(CanonicalTreeParser base,
CanonicalTreeParser ours,
CanonicalTreeParser theirs,
DirCacheBuildIterator index,
WorkingTreeIterator work,
boolean ignoreConflicts)
Deprecated.
|
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.
|
void |
ResolveMerger.setWorkingTreeIterator(WorkingTreeIterator workingTreeIterator)
Sets the WorkingTreeIterator to be used by this merger.
|
Modifier and Type | Class and Description |
---|---|
class |
FileTreeIterator
Working directory iterator for standard Java IO.
|
Constructor and Description |
---|
FileTreeIterator(WorkingTreeIterator p,
File root,
FS fs)
Deprecated.
|
FileTreeIterator(WorkingTreeIterator p,
File root,
FS fs,
FileTreeIterator.FileModeStrategy fileModeStrategy)
Create a new iterator to traverse a subdirectory, given the specified
FileModeStrategy.
|
WorkingTreeIterator(WorkingTreeIterator p)
Create an iterator for a subtree of an existing iterator.
|
Copyright © 2017 Eclipse JGit Project. All rights reserved.