private static final class RefDirectory.LooseSymbolicRef extends SymbolicRef implements RefDirectory.LooseRef
Ref.Storage
Modifier and Type | Field and Description |
---|---|
private FileSnapshot |
snapShot |
UNDEFINED_UPDATE_INDEX
Constructor and Description |
---|
LooseSymbolicRef(FileSnapshot snapshot,
java.lang.String refName,
Ref target) |
Modifier and Type | Method and Description |
---|---|
FileSnapshot |
getSnapShot() |
RefDirectory.LooseRef |
peel(ObjectIdRef newLeaf) |
getLeaf, getName, getObjectId, getPeeledObjectId, getStorage, getTarget, getUpdateIndex, isPeeled, isSymbolic, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getLeaf, getName, getObjectId, getPeeledObjectId, getStorage, getTarget, getUpdateIndex, isPeeled, isSymbolic
private final FileSnapshot snapShot
LooseSymbolicRef(FileSnapshot snapshot, @NonNull java.lang.String refName, @NonNull Ref target)
public FileSnapshot getSnapShot()
getSnapShot
in interface RefDirectory.LooseRef
public RefDirectory.LooseRef peel(ObjectIdRef newLeaf)
peel
in interface RefDirectory.LooseRef