Uses of Class
org.eclipse.jgit.dircache.DirCache
Packages that use DirCache
Package
Description
High-level API commands (the porcelain of JGit).
Reading and editing the directory cache (index).
Core API for repository, config, refs, object database.
Content and commit history merge algorithms.
Transport (fetch/push) for different protocols.
-
Uses of DirCache in org.eclipse.jgit.api
Methods in org.eclipse.jgit.api that return DirCacheModifier and TypeMethodDescriptionAddCommand.call()
RmCommand.call()
private DirCache
CommitCommand.createTemporaryIndex
(ObjectId headId, DirCache index, RevWalk rw) Methods in org.eclipse.jgit.api with parameters of type DirCacheModifier and TypeMethodDescriptionprivate void
ApplyCommand.apply
(Repository repository, String path, DirCache cache, File f, FileHeader fh) 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) -
Uses of DirCache in org.eclipse.jgit.dircache
Fields in org.eclipse.jgit.dircache declared as DirCacheModifier and TypeFieldDescriptionprotected DirCache
BaseDirCacheEditor.cache
The cache instance this editor updates duringBaseDirCacheEditor.finish()
.protected final DirCache
DirCacheIterator.cache
The cache this iterator was created to walk.private DirCache
DirCacheCheckout.dc
Methods in org.eclipse.jgit.dircache that return DirCacheModifier and TypeMethodDescriptionBaseDirCacheEditor.getDirCache()
Get theDirCache
static DirCache
Create a new in-core index representation, lock it, and read from disk.static DirCache
DirCache.lock
(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
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.Constructors in org.eclipse.jgit.dircache with parameters of type DirCacheModifierConstructorDescriptionprotected
BaseDirCacheEditor
(DirCache dc, int ecnt) Construct a new editor.protected
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.protected
DirCacheEditor
(DirCache dc, int ecnt) Construct a new editor.Create a new iterator for an already loaded DirCache instance. -
Uses of DirCache in org.eclipse.jgit.gitrepo
Methods in org.eclipse.jgit.gitrepo with parameters of type DirCacheModifier and TypeMethodDescriptionprivate void
BareSuperprojectWriter.prepareIndex
(List<RepoProject> projects, DirCache index, ObjectInserter inserter) -
Uses of DirCache in org.eclipse.jgit.lib
Fields in org.eclipse.jgit.lib declared as DirCacheMethods in org.eclipse.jgit.lib that return DirCacheModifier and TypeMethodDescriptionRepository.lockDirCache()
Create a new in-core index representation, lock it, and read from disk.Repository.readDirCache()
Create a new in-core index representation and read an index from disk. -
Uses of DirCache in org.eclipse.jgit.merge
Fields in org.eclipse.jgit.merge declared as DirCacheModifier and TypeFieldDescriptionprivate final DirCache
StrategySimpleTwoWayInCore.InCoreMerger.cache
protected DirCache
ResolveMerger.dircache
Directory cacheMethods in org.eclipse.jgit.merge with parameters of type DirCacheModifier and TypeMethodDescriptionvoid
ResolveMerger.setDirCache
(DirCache dc) Sets the DirCache which shall be used by this merger. -
Uses of DirCache in org.eclipse.jgit.transport
Methods in org.eclipse.jgit.transport that return DirCacheMethods in org.eclipse.jgit.transport with parameters of type DirCacheModifier and TypeMethodDescriptionprivate ObjectId
PushCertificateStore.saveCert
(ObjectInserter inserter, DirCache dc, PushCertificateStore.PendingCert pc, ObjectId curr)