mirror of
https://github.com/genuinetools/reg.git
synced 2024-09-19 00:31:02 -04:00
1af74c42c2
Signed-off-by: Jess Frazelle <me@jessfraz.com>
17 lines
453 B
Go
17 lines
453 B
Go
// +build noresumabledigest
|
|
|
|
package storage
|
|
|
|
import (
|
|
"github.com/docker/distribution/context"
|
|
)
|
|
|
|
// resumeHashAt 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
|
|
}
|