2018-02-05 21:05:59 +00:00
|
|
|
package layer // import "github.com/docker/docker/layer"
|
2016-06-07 00:49:34 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
"io"
|
|
|
|
|
|
|
|
"github.com/docker/distribution"
|
|
|
|
)
|
|
|
|
|
2017-09-19 19:14:46 +00:00
|
|
|
func (ls *layerStore) RegisterWithDescriptor(ts io.Reader, parent ChainID, descriptor distribution.Descriptor) (Layer, error) {
|
|
|
|
return ls.registerWithDescriptor(ts, parent, descriptor)
|
2016-06-07 00:49:34 +00:00
|
|
|
}
|