public static class ObjectIdRef.Unpeeled extends ObjectIdRef
ObjectIdRef.PeeledNonTag, ObjectIdRef.PeeledTag, ObjectIdRef.Unpeeled
Ref.Storage
Constructor and Description |
---|
Unpeeled(Ref.Storage st,
String name,
ObjectId id)
Create a new ref pairing.
|
Modifier and Type | Method and Description |
---|---|
ObjectId |
getPeeledObjectId()
Cached value of
ref^{} (the ref peeled to commit). |
boolean |
isPeeled()
Whether the Ref represents a peeled tag.
|
getLeaf, getName, getObjectId, getStorage, getTarget, isSymbolic, toString
@Nullable public ObjectId getPeeledObjectId()
Ref
ref^{}
(the ref peeled to commit).null
if this ref
does not refer to an annotated tag.public boolean isPeeled()
Ref
Copyright © 2018 Eclipse JGit Project. All rights reserved.