Skip to content

refactor: Successor getting with separation of concerns

Codecov / codecov/patch failed Jul 26, 2024 in 1s

64.10% of diff hit (target 80.00%)

View this Pull Request on Codecov

64.10% of diff hit (target 80.00%)

Annotations

Check warning on line 74 in cmd/oras/internal/display/status/text.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/internal/display/status/text.go#L74

Added line #L74 was not covered by tests

Check warning on line 164 in cmd/oras/internal/display/status/text.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/internal/display/status/text.go#L164

Added line #L164 was not covered by tests

Check warning on line 74 in cmd/oras/internal/display/status/tty.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/internal/display/status/tty.go#L74

Added line #L74 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/internal/display/status/tty.go#L79

Added line #L79 was not covered by tests

Check warning on line 202 in cmd/oras/root/cp.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/root/cp.go#L202

Added line #L202 was not covered by tests

Check warning on line 206 in cmd/oras/root/cp.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/oras/root/cp.go#L205-L206

Added lines #L205 - L206 were not covered by tests