| Constructor and Description |
|---|
RepoRefCache(org.eclipse.jgit.lib.Repository repo) |
| Modifier and Type | Method and Description |
|---|---|
Optional<org.eclipse.jgit.lib.ObjectId> |
get(String refName)
Get the possibly-cached value of a ref.
|
Map<String,Optional<org.eclipse.jgit.lib.ObjectId>> |
getCachedRefs() |
public Optional<org.eclipse.jgit.lib.ObjectId> get(String refName) throws IOException
RefCacheget in interface RefCacherefName - name of the ref.ObjectId.zeroId().IOException