refactor(progress): generic progress tracking #1524
82.09% of diff hit (target 80.00%)
View this Pull Request on Codecov
82.09% of diff hit (target 80.00%)
Annotations
Check warning on line 37 in cmd/oras/internal/display/status/progress/messenger.go
codecov / codecov/patch
cmd/oras/internal/display/status/progress/messenger.go#L35-L37
Added lines #L35 - L37 were not covered by tests
Check warning on line 99 in cmd/oras/internal/display/status/progress/status.go
codecov / codecov/patch
cmd/oras/internal/display/status/progress/status.go#L95-L99
Added lines #L95 - L99 were not covered by tests
Check warning on line 83 in cmd/oras/internal/display/status/track/target.go
codecov / codecov/patch
cmd/oras/internal/display/status/track/target.go#L82-L83
Added lines #L82 - L83 were not covered by tests
Check warning on line 89 in cmd/oras/internal/display/status/track/target.go
codecov / codecov/patch
cmd/oras/internal/display/status/track/target.go#L88-L89
Added lines #L88 - L89 were not covered by tests
Check warning on line 105 in cmd/oras/internal/display/status/track/target.go
codecov / codecov/patch
cmd/oras/internal/display/status/track/target.go#L104-L105
Added lines #L104 - L105 were not covered by tests
Check warning on line 123 in cmd/oras/internal/display/status/track/target.go
codecov / codecov/patch
cmd/oras/internal/display/status/track/target.go#L122-L123
Added lines #L122 - L123 were not covered by tests
Check warning on line 129 in cmd/oras/internal/display/status/track/target.go
codecov / codecov/patch
cmd/oras/internal/display/status/track/target.go#L128-L129
Added lines #L128 - L129 were not covered by tests
Check warning on line 136 in cmd/oras/internal/display/status/tty.go
codecov / codecov/patch
cmd/oras/internal/display/status/tty.go#L136
Added line #L136 was not covered by tests
Check warning on line 141 in cmd/oras/internal/display/status/tty.go
codecov / codecov/patch
cmd/oras/internal/display/status/tty.go#L141
Added line #L141 was not covered by tests
Check warning on line 217 in cmd/oras/internal/display/status/tty.go
codecov / codecov/patch
cmd/oras/internal/display/status/tty.go#L217
Added line #L217 was not covered by tests
Check warning on line 182 in cmd/oras/root/blob/fetch.go
codecov / codecov/patch
cmd/oras/root/blob/fetch.go#L181-L182
Added lines #L181 - L182 were not covered by tests
Check warning on line 188 in cmd/oras/root/blob/fetch.go
codecov / codecov/patch
cmd/oras/root/blob/fetch.go#L187-L188
Added lines #L187 - L188 were not covered by tests
Check warning on line 173 in cmd/oras/root/blob/push.go
codecov / codecov/patch
cmd/oras/root/blob/push.go#L172-L173
Added lines #L172 - L173 were not covered by tests
Check warning on line 163 in internal/progress/tracker.go
codecov / codecov/patch
internal/progress/tracker.go#L161-L163
Added lines #L161 - L163 were not covered by tests