Package | Description |
---|---|
org.eclipse.jgit.api |
High-level API commands (the porcelain of JGit).
|
org.eclipse.jgit.dircache |
Reading and editing the directory cache (index).
|
org.eclipse.jgit.internal.storage.reftree | |
org.eclipse.jgit.junit | |
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.transport |
Transport (fetch/push) for different protocols.
|
Modifier and Type | Method and Description |
---|---|
DirCache |
AddCommand.call() |
DirCache |
RmCommand.call() |
private DirCache |
CommitCommand.createTemporaryIndex(ObjectId headId,
DirCache index,
RevWalk rw) |
Modifier and Type | Method and Description |
---|---|
private void |
CheckoutCommand.checkoutPathsFromCommit(TreeWalk treeWalk,
DirCache dc,
RevCommit commit) |
private void |
CheckoutCommand.checkoutPathsFromIndex(TreeWalk treeWalk,
DirCache dc) |
private DirCache |
CommitCommand.createTemporaryIndex(ObjectId headId,
DirCache index,
RevWalk rw) |
Modifier and Type | Field and Description |
---|---|
protected DirCache |
BaseDirCacheEditor.cache
The cache instance this editor updates during
BaseDirCacheEditor.finish() . |
protected DirCache |
DirCacheIterator.cache
The cache this iterator was created to walk.
|
private DirCache |
DirCacheCheckout.dc |
Modifier and Type | Method and Description |
---|---|
DirCache |
BaseDirCacheEditor.getDirCache()
Get the
DirCache |
static DirCache |
DirCache.lock(java.io.File indexLocation,
FS fs)
Create a new in-core index representation, lock it, and read from disk.
|
static DirCache |
DirCache.lock(java.io.File indexLocation,
FS fs,
IndexChangedListener indexChangedListener)
Create a new in-core index representation, lock it, and read from disk.
|
static DirCache |
DirCache.lock(Repository repository,
IndexChangedListener indexChangedListener)
Create a new in-core index representation, lock it, and read from disk.
|
static DirCache |
DirCache.newInCore()
Create a new empty index which is never stored on disk.
|
static DirCache |
DirCache.read(java.io.File indexLocation,
FS fs)
Create a new in-core index representation and read an index from disk.
|
static DirCache |
DirCache.read(ObjectReader reader,
AnyObjectId treeId)
Create a new in memory index read from the contents of a tree.
|
static DirCache |
DirCache.read(Repository repository)
Create a new in-core index representation and read an index from disk.
|
Constructor and Description |
---|
BaseDirCacheEditor(DirCache dc,
int ecnt)
Construct a new editor.
|
DirCacheBuilder(DirCache dc,
int ecnt)
Construct a new builder.
|
DirCacheCheckout(Repository repo,
DirCache dc,
ObjectId mergeCommitTree)
Constructs a DirCacheCeckout for checking out one tree, merging with the
index.
|
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)
Constructs a DirCacheCeckout for merging and checking out two trees (HEAD
and mergeCommitTree) and 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.
|
DirCacheEditor(DirCache dc,
int ecnt)
Construct a new editor.
|
DirCacheIterator(DirCache dc)
Create a new iterator for an already loaded DirCache instance.
|
Modifier and Type | Field and Description |
---|---|
private DirCache |
RefTree.contents |
Constructor and Description |
---|
RefTree(DirCache dc) |
Modifier and Type | Field and Description |
---|---|
private DirCache |
TestRepository.CommitBuilder.tree |
Modifier and Type | Field and Description |
---|---|
private DirCache |
IndexDiff.dirCache |
Modifier and Type | Method and Description |
---|---|
DirCache |
Repository.lockDirCache()
Create a new in-core index representation, lock it, and read from disk.
|
DirCache |
Repository.readDirCache()
Create a new in-core index representation and read an index from disk.
|
Modifier and Type | Field and Description |
---|---|
private DirCache |
StrategySimpleTwoWayInCore.InCoreMerger.cache |
protected DirCache |
ResolveMerger.dircache
Directory cache
|
Modifier and Type | Method and Description |
---|---|
void |
ResolveMerger.setDirCache(DirCache dc)
Sets the DirCache which shall be used by this merger.
|
Modifier and Type | Method and Description |
---|---|
private DirCache |
PushCertificateStore.newDirCache() |
Modifier and Type | Method and Description |
---|---|
private ObjectId |
PushCertificateStore.saveCert(ObjectInserter inserter,
DirCache dc,
PushCertificateStore.PendingCert pc,
ObjectId curr) |