mirror of
https://github.com/docker/docs.git
synced 2026-03-28 14:58:53 +07:00
Replace use of foreign sources with descriptors and describable Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
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)
|
|
}
|