github.com/jingleWang/moby@v1.13.1/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, descriptor distribution.Descriptor) (Layer, error) { 10 return ls.registerWithDescriptor(ts, parent, descriptor) 11 }