github.com/xdlianrong208/docker-ce-comments@v17.12.1-ce-rc2+incompatible/components/engine/layer/layer_store_windows.go (about)

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