Skip to content

refactor: simplify reader with manager and messenger

Codecov / codecov/patch failed Aug 14, 2024 in 0s

60.37% of diff hit (target 80.00%)

View this Pull Request on Codecov

60.37% of diff hit (target 80.00%)

Annotations

Check warning on line 57 in cmd/oras/internal/display/status/progress/manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/internal/display/status/progress/manager.go#L56-L57

Added lines #L56 - L57 were not covered by tests

Check warning on line 66 in cmd/oras/internal/display/status/progress/manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/internal/display/status/progress/manager.go#L63-L66

Added lines #L63 - L66 were not covered by tests

Check warning on line 71 in cmd/oras/internal/display/status/progress/messenger.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/internal/display/status/progress/messenger.go#L70-L71

Added lines #L70 - L71 were not covered by tests

Check warning on line 75 in cmd/oras/internal/display/status/track/target.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/internal/display/status/track/target.go#L73-L75

Added lines #L73 - L75 were not covered by tests

Check warning on line 77 in cmd/oras/internal/display/status/track/target.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/internal/display/status/track/target.go#L77

Added line #L77 was not covered by tests

Check warning on line 79 in cmd/oras/internal/display/status/track/target.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/internal/display/status/track/target.go#L79

Added line #L79 was not covered by tests

Check warning on line 96 in cmd/oras/internal/display/status/track/target.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/internal/display/status/track/target.go#L96

Added line #L96 was not covered by tests

Check warning on line 176 in cmd/oras/root/blob/fetch.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/root/blob/fetch.go#L176

Added line #L176 was not covered by tests

Check warning on line 182 in cmd/oras/root/blob/fetch.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/root/blob/fetch.go#L182

Added line #L182 was not covered by tests

Check warning on line 166 in cmd/oras/root/blob/push.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/root/blob/push.go#L166

Added line #L166 was not covered by tests