Package | Description |
---|---|
org.eclipse.jgit.api |
High-level API commands (the porcelain of JGit).
|
org.eclipse.jgit.attributes |
Support for reading .gitattributes.
|
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).
|
org.eclipse.jgit.treewalk.filter |
Filters for use in tree walking.
|
Modifier and Type | Field and Description |
---|---|
private WorkingTreeIterator |
StatusCommand.workingTreeIt |
private WorkingTreeIterator |
AddCommand.workingTreeIterator |
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 |
---|---|
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 | Field and Description |
---|---|
private WorkingTreeIterator |
ContentSource.WorkingTreeSource.iterator |
(package private) WorkingTreeIterator |
ContentSource.WorkingTreeSource.ptr |
Modifier and Type | Method and Description |
---|---|
static ContentSource |
ContentSource.create(WorkingTreeIterator iterator)
Construct a content source for a working directory.
|
Constructor and Description |
---|
WorkingTreeSource(WorkingTreeIterator iterator) |
Modifier and Type | Field and Description |
---|---|
private WorkingTreeIterator |
DirCacheCheckout.workingTree |
Modifier and Type | Method and Description |
---|---|
private void |
DirCacheCheckout.keep(DirCacheEntry e,
WorkingTreeIterator f) |
(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 |
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 | Field and Description |
---|---|
private WorkingTreeIterator |
IndexDiff.initialWorkingTreeIterator |
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,
java.lang.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 |
---|---|
private boolean |
ResolveMerger.isWorktreeDirty(WorkingTreeIterator work,
DirCacheEntry ourDce) |
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,
java.io.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.
|
Modifier and Type | Method and Description |
---|---|
private WorkingTreeIterator |
IndexDiffFilter.workingTree(TreeWalk tw) |