distribution/registry/storage/blobwriter_nonresumable.go
closeobserve a6ce1a7995 chore: make function comment match function name
Signed-off-by: closeobserve <pingcap@yahoo.com>
2025-04-13 17:40:27 +08:00

19 lines
451 B
Go

//go:build noresumabledigest
// +build noresumabledigest
package storage
import (
"context"
)
// resumeDigest is a noop when resumable digest support is disabled.
func (bw *blobWriter) resumeDigest(ctx context.Context) error {
return errResumableDigestNotAvailable
}
// storeHashState is a noop when resumable digest support is disabled.
func (bw *blobWriter) storeHashState(ctx context.Context) error {
return errResumableDigestNotAvailable
}