Constructor and Description |
---|
RepoRefCache(org.eclipse.jgit.lib.Repository repo) |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<org.eclipse.jgit.lib.ObjectId> |
get(java.lang.String refName)
Get the possibly-cached value of a ref.
|
java.util.Map<java.lang.String,java.util.Optional<org.eclipse.jgit.lib.ObjectId>> |
getCachedRefs() |
public java.util.Optional<org.eclipse.jgit.lib.ObjectId> get(java.lang.String refName) throws java.io.IOException
RefCache
public java.util.Map<java.lang.String,java.util.Optional<org.eclipse.jgit.lib.ObjectId>> getCachedRefs()