// Exists returns true if the manifest exists.
Exists returns true if the manifest exists.
// Exists returns true if the manifest exists .
func (c retryManifest) Exists(ctx context.Context, dgst godigest.Digest) (bool, error) {
	for i := 0; ; i++ {
		exists, err := c.ManifestService.Exists(ctx, dgst)
		if c.repo.shouldRetry(i, err) {
			continue
		}
		return exists, err
	}
}
func ( c retryManifest ) Exists ( ctx context . Context , dgst godigest . Digest ) ( bool , error ) { for i := 0 ; ; i ++ { exists , err := c . ManifestService . Exists ( ctx , dgst ) if c . repo . shouldRetry ( i , err ) { continue } return exists , err } }
Exists returns true if the manifest exists.
Exists returns true if the manifest exists .