code: func (rbds *redisBlobDescriptorService) RepositoryScoped(repo string) (distribution.BlobDescriptorService, error) {
  	if _, err := reference.ParseNormalizedNamed(repo); err != nil {
  		return nil, err
  	}
  
  	return &repositoryScopedRedisBlobDescriptorService{
  		repo:     repo,
  		upstream: rbds,
  	}, nil
  }
docs: // RepositoryScoped returns the scoped cache.