mirror of
https://github.com/genuinetools/reg.git
synced 2024-07-15 15:49:30 -04:00
12 lines
299 B
Go
12 lines
299 B
Go
package layer // import "github.com/docker/docker/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)
|
|
}
|