github.com/xdlianrong208/docker-ce-comments@v17.12.1-ce-rc2+incompatible/components/engine/layer/ro_layer_windows.go (about) 1 package layer 2 3 import "github.com/docker/distribution" 4 5 var _ distribution.Describable = &roLayer{} 6 7 func (rl *roLayer) Descriptor() distribution.Descriptor { 8 return rl.descriptor 9 } 10 11 func (rl *roLayer) OS() OS { 12 if rl.os == "" { 13 return "windows" 14 } 15 return rl.os 16 }