private static final class RefDirectory.LooseUnpeeled extends ObjectIdRef.Unpeeled implements RefDirectory.LooseRef
ObjectIdRef.PeeledNonTag, ObjectIdRef.PeeledTag, ObjectIdRef.UnpeeledRef.Storage| Modifier and Type | Field and Description |
|---|---|
private FileSnapshot |
snapShot |
| Constructor and Description |
|---|
LooseUnpeeled(FileSnapshot snapShot,
java.lang.String refName,
ObjectId id) |
| Modifier and Type | Method and Description |
|---|---|
ObjectId |
getObjectId()
Cached value of this ref.
|
FileSnapshot |
getSnapShot() |
RefDirectory.LooseRef |
peel(ObjectIdRef newLeaf) |
getPeeledObjectId, isPeeledgetLeaf, getName, getStorage, getTarget, isSymbolic, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLeaf, getName, getPeeledObjectId, getStorage, getTarget, isPeeled, isSymbolicprivate FileSnapshot snapShot
LooseUnpeeled(FileSnapshot snapShot, @NonNull java.lang.String refName, @NonNull ObjectId id)
public FileSnapshot getSnapShot()
getSnapShot in interface RefDirectory.LooseRef@NonNull public ObjectId getObjectId()
ObjectIdRefgetObjectId in interface RefgetObjectId in class ObjectIdRefnull to indicate a ref that does not exist yet or a
symbolic ref pointing to an unborn branch.public RefDirectory.LooseRef peel(ObjectIdRef newLeaf)
peel in interface RefDirectory.LooseRef