mirror of
https://github.com/genuinetools/reg.git
synced 2024-09-12 06:11:03 -04:00
17 lines
269 B
Go
17 lines
269 B
Go
![]() |
package layer
|
||
|
|
||
|
import "github.com/docker/distribution"
|
||
|
|
||
|
var _ distribution.Describable = &roLayer{}
|
||
|
|
||
|
func (rl *roLayer) Descriptor() distribution.Descriptor {
|
||
|
return rl.descriptor
|
||
|
}
|
||
|
|
||
|
func (rl *roLayer) OS() OS {
|
||
|
if rl.os == "" {
|
||
|
return "windows"
|
||
|
}
|
||
|
return rl.os
|
||
|
}
|