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
RefCache
get
in interface RefCache
refName
- name of the ref.ObjectId.zeroId()
.IOException