···271271 return dgst.Encoded()
272272}
273273274274-// GetLastFetchedHoldDID returns the hold DID from the most recently fetched manifest
275275-// This is used by the routing repository to cache the hold for blob requests
276276-func (s *ManifestStore) GetLastFetchedHoldDID() string {
277277- s.mu.RLock()
278278- defer s.mu.RUnlock()
279279- return s.lastFetchedHoldDID
280280-}
281281-282274// rawManifest is a simple implementation of distribution.Manifest
283275type rawManifest struct {
284276 mediaType string