## Uses of Class
org.eclipse.jgit.dircache.DirCache

Packages that use DirCache
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.lib: Core API for repository, config, refs, object database.
org.eclipse.jgit.merge: Content and commit history merge algorithms.

### Uses of DirCache in org.eclipse.jgit.api

Methods in org.eclipse.jgit.api that return DirCache
`DirCache` AddCommand.`call()` Executes the `Add` command.
`DirCache` RmCommand.`call()` Executes the `Rm` command.

### Uses of DirCache in org.eclipse.jgit.dircache

Fields in org.eclipse.jgit.dircache declared as DirCache
`protected DirCache` BaseDirCacheEditor.`cache` The cache instance this editor updates during `BaseDirCacheEditor.finish()`.
`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.

Methods in org.eclipse.jgit.dircache that return DirCache
`static DirCache` DirCache.`lock​(File indexLocation, FS fs)` 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` DirCache.`read​(File indexLocation, FS fs)` Create a new in-core index representation and read an index from disk.
`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 DirCache
`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.

### Uses of DirCache in org.eclipse.jgit.lib

Methods in org.eclipse.jgit.lib that return DirCache
`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.

### Uses of DirCache in org.eclipse.jgit.merge

Fields in org.eclipse.jgit.merge declared as DirCache
`protected DirCache` ResolveMerger.`dircache` Directory cache

Methods in org.eclipse.jgit.merge with parameters of type DirCache
`void` ResolveMerger.`setDirCache​(DirCache dc)` Sets the DirCache which shall be used by this merger.