(img v1.Image)
| 29 | ) |
| 30 | |
| 31 | func isWindows(img v1.Image) (bool, error) { |
| 32 | cfg, err := img.ConfigFile() |
| 33 | if err != nil { |
| 34 | return false, err |
| 35 | } |
| 36 | return cfg != nil && cfg.OS == "windows", nil |
| 37 | } |
| 38 | |
| 39 | // Append reads a layer from path and appends it the the v1.Image base. |
| 40 | // |
no test coverage detected
searching dependent graphs…