(images []string, tempDir string)
| 66 | } |
| 67 | |
| 68 | func readImages(images []string, tempDir string) ([]*source, error) { |
| 69 | var sources []*source |
| 70 | for _, image := range images { |
| 71 | s, err := readImage(image, tempDir) |
| 72 | if err != nil { |
| 73 | return nil, err |
| 74 | } |
| 75 | sources = append(sources, s...) |
| 76 | } |
| 77 | |
| 78 | return sources, nil |
| 79 | } |
| 80 | |
| 81 | func readFile(filename string) ([]*source, error) { |
| 82 | if err := verifyFile(filename); err != nil { |
no test coverage detected
searching dependent graphs…