ListImages list the named images and their root digests from a layout.Path
(dir string)
| 6 | |
| 7 | // ListImages list the named images and their root digests from a layout.Path |
| 8 | func ListImages(dir string) (map[string]string, error) { |
| 9 | p, err := NewProvider(dir) |
| 10 | if err != nil { |
| 11 | return nil, err |
| 12 | } |
| 13 | return p.List() |
| 14 | } |
| 15 | |
| 16 | func (p *Provider) List() (map[string]string, error) { |
| 17 | ii, err := p.Index() |
nothing calls this directly
no test coverage detected