19 lines
		
	
	
		
			491 B
		
	
	
	
		
			Go
		
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			491 B
		
	
	
	
		
			Go
		
	
	
| //go:build noresumabledigest
 | |
| // +build noresumabledigest
 | |
| 
 | |
| package storage
 | |
| 
 | |
| import (
 | |
| 	"github.com/distribution/distribution/v3/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
 | |
| }
 |