mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
42c5c1a9ec
Signed-off-by: John Howard <jhoward@microsoft.com>
11 lines
285 B
Go
11 lines
285 B
Go
package layer
|
|
|
|
import (
|
|
"io"
|
|
|
|
"github.com/docker/distribution"
|
|
)
|
|
|
|
func (ls *layerStore) RegisterWithDescriptor(ts io.Reader, parent ChainID, platform Platform, descriptor distribution.Descriptor) (Layer, error) {
|
|
return ls.registerWithDescriptor(ts, parent, platform, descriptor)
|
|
}
|