mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-04 05:10:40 +00:00
Add publish output progress counting remaining number of packages
This commit is contained in:
committed by
Lorenzo Bolla
parent
3cd168c44d
commit
f09a273ad7
@@ -12,6 +12,13 @@ type Detail struct {
|
||||
atomic.Value
|
||||
}
|
||||
|
||||
// PublishDetail represents publish task details
|
||||
type PublishDetail struct {
|
||||
*Detail
|
||||
TotalNumberOfPackages int64
|
||||
RemainingNumberOfPackages int64
|
||||
}
|
||||
|
||||
// Process is a function implementing the actual task logic
|
||||
type Process func(out *Output, detail *Detail) error
|
||||
|
||||
|
||||
Reference in New Issue
Block a user