(p transfer.Progress)
| 733 | } |
| 734 | |
| 735 | func (ip *imagesProgress) Progress(p transfer.Progress) { |
| 736 | ip.Lock() |
| 737 | if p.Event == "saved" { |
| 738 | ip.images = append(ip.images, p.Name) |
| 739 | } |
| 740 | ip.Unlock() |
| 741 | } |
| 742 | |
| 743 | func (ip *imagesProgress) getImages() []string { |
| 744 | ip.Lock() |
no test coverage detected