text: public RefDirectory.LooseRef Peel(ObjectIdRef newLeaf){if (newLeaf.GetPeeledObjectId() != null){return new RefDirectory.LoosePeeledTag(snapShot, GetName(), GetObjectId(), newLeaf.GetPeeledObjectId());}else{return new RefDirectory.LooseNonTag(snapShot, GetName(), GetObjectId());}}