github.com/demonoid81/moby@v0.0.0-20200517203328-62dd8e17c460/layer/layer_store_windows.go (about)

     1  package layer // import "github.com/demonoid81/moby/layer"
     2  
     3  import (
     4  	"io"
     5  
     6  	"github.com/docker/distribution"
     7  )
     8  
     9  func (ls *layerStore) RegisterWithDescriptor(ts io.Reader, parent ChainID, descriptor distribution.Descriptor) (Layer, error) {
    10  	return ls.registerWithDescriptor(ts, parent, descriptor)
    11  }