registry/docs/storage/layerwriter_resumable.go

10 lines
210 B
Go
Raw Normal View History

// +build !noresumabledigest
package storage
import "github.com/docker/distribution/digest"
func (lw *layerWriter) setupResumableDigester() {
lw.resumableDigester = digest.NewCanonicalResumableDigester()
}