github.com/npaton/distribution@v2.3.1-rc.0+incompatible/registry/storage/blobwriter_nonresumable.go (about) 1 // +build noresumabledigest 2 3 package storage 4 5 import ( 6 "github.com/docker/distribution/context" 7 ) 8 9 // resumeHashAt is a noop when resumable digest support is disabled. 10 func (bw *blobWriter) resumeDigestAt(ctx context.Context, offset int64) error { 11 return errResumableDigestNotAvailable 12 } 13 14 // storeHashState is a noop when resumable digest support is disabled. 15 func (bw *blobWriter) storeHashState(ctx context.Context) error { 16 return errResumableDigestNotAvailable 17 }