()
| 215 | } |
| 216 | |
| 217 | func (context *AptlyContext) _progress() aptly.Progress { |
| 218 | if context.progress == nil { |
| 219 | context.progress = console.NewProgress(context.structuredLogging) |
| 220 | context.progress.Start() |
| 221 | } |
| 222 | |
| 223 | return context.progress |
| 224 | } |
| 225 | |
| 226 | // NewDownloader returns instance of new downloader with given progress |
| 227 | func (context *AptlyContext) NewDownloader(progress aptly.Progress) aptly.Downloader { |
no test coverage detected