public static class ObjectIdRef.Unpeeled extends ObjectIdRef
ObjectIdRef.PeeledNonTag, ObjectIdRef.PeeledTag, ObjectIdRef.Unpeeled
Ref.Storage
Constructor and Description |
---|
ObjectIdRef.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() |
getLeaf, getName, getObjectId, getStorage, getTarget, isSymbolic, toString
public ObjectIdRef.Unpeeled(Ref.Storage st, String name, ObjectId id)
st
- method used to store this ref.name
- name of this ref.id
- current value of the ref. May be null to indicate a ref
that does not exist yet.public ObjectId getPeeledObjectId()
Ref
ref^{}
(the ref peeled to commit).public boolean isPeeled()
Copyright © 2015 Eclipse JGit Project. All rights reserved.