Skip to content

refactor: Successor getting with separation of concerns

Codecov / codecov/patch failed Aug 3, 2024 in 1s

74.35% of diff hit (target 80.00%)

View this Pull Request on Codecov

74.35% 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

Check warning on line 62 in internal/testutils/fetcher.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/testutils/fetcher.go#L62

Added line #L62 was not covered by tests

Check warning on line 76 in internal/testutils/fetcher.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/testutils/fetcher.go#L76

Added line #L76 was not covered by tests

Check warning on line 98 in internal/testutils/fetcher.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/testutils/fetcher.go#L98

Added line #L98 was not covered by tests