mirror of
https://github.com/genuinetools/reg.git
synced 2024-09-12 06:11:03 -04:00
12 lines
267 B
Go
12 lines
267 B
Go
![]() |
package layer
|
||
|
|
||
|
import (
|
||
|
"io"
|
||
|
|
||
|
"github.com/docker/distribution"
|
||
|
)
|
||
|
|
||
|
func (ls *layerStore) RegisterWithDescriptor(ts io.Reader, parent ChainID, os OS, descriptor distribution.Descriptor) (Layer, error) {
|
||
|
return ls.registerWithDescriptor(ts, parent, os, descriptor)
|
||
|
}
|