Signed-off-by: John Howard <jhoward@microsoft.com> Upstream-commit: afd305c4b5682fbc297e1685e2b7a49628b7c7f0 Component: engine
12 lines
256 B
Go
12 lines
256 B
Go
package layer
|
|
|
|
import (
|
|
"io"
|
|
|
|
"github.com/docker/distribution"
|
|
)
|
|
|
|
func (ls *layerStore) RegisterWithDescriptor(ts io.Reader, parent ChainID, descriptor distribution.Descriptor) (Layer, error) {
|
|
return ls.registerWithDescriptor(ts, parent, descriptor)
|
|
}
|