Skip to content

o/snapstate: download snap icon after downloading snap file

Codecov / codecov/patch failed Feb 14, 2025 in 1s

42.10% of diff hit (target 78.07%)

View this Pull Request on Codecov

42.10% of diff hit (target 78.07%)

Annotations

Check warning on line 38 in overlord/snapstate/backend/icon.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

overlord/snapstate/backend/icon.go#L37-L38

Added lines #L37 - L38 were not covered by tests

Check warning on line 48 in overlord/snapstate/backend/icon.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

overlord/snapstate/backend/icon.go#L47-L48

Added lines #L47 - L48 were not covered by tests

Check warning on line 59 in overlord/snapstate/backend/icon.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

overlord/snapstate/backend/icon.go#L58-L59

Added lines #L58 - L59 were not covered by tests

Check warning on line 70 in overlord/snapstate/backend/icon.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

overlord/snapstate/backend/icon.go#L69-L70

Added lines #L69 - L70 were not covered by tests

Check warning on line 74 in overlord/snapstate/backend/icon.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

overlord/snapstate/backend/icon.go#L73-L74

Added lines #L73 - L74 were not covered by tests

Check warning on line 83 in overlord/snapstate/backend/icon.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

overlord/snapstate/backend/icon.go#L82-L83

Added lines #L82 - L83 were not covered by tests

Check warning on line 86 in overlord/snapstate/backend/icon.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

overlord/snapstate/backend/icon.go#L85-L86

Added lines #L85 - L86 were not covered by tests

Check warning on line 95 in overlord/snapstate/backend/icon.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

overlord/snapstate/backend/icon.go#L94-L95

Added lines #L94 - L95 were not covered by tests

Check warning on line 98 in overlord/snapstate/backend/icon.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

overlord/snapstate/backend/icon.go#L97-L98

Added lines #L97 - L98 were not covered by tests

Check warning on line 42 in overlord/snapstate/backend/metadata.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

overlord/snapstate/backend/metadata.go#L41-L42

Added lines #L41 - L42 were not covered by tests

Check warning on line 69 in overlord/snapstate/backend/metadata.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

overlord/snapstate/backend/metadata.go#L68-L69

Added lines #L68 - L69 were not covered by tests

Check warning on line 89 in overlord/snapstate/backend/metadata.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

overlord/snapstate/backend/metadata.go#L88-L89

Added lines #L88 - L89 were not covered by tests

Check warning on line 92 in overlord/snapstate/backend/metadata.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

overlord/snapstate/backend/metadata.go#L91-L92

Added lines #L91 - L92 were not covered by tests

Check warning on line 766 in overlord/snapstate/handlers.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

overlord/snapstate/handlers.go#L765-L766

Added lines #L765 - L766 were not covered by tests

Check warning on line 776 in overlord/snapstate/handlers.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

overlord/snapstate/handlers.go#L775-L776

Added lines #L775 - L776 were not covered by tests

Check warning on line 784 in overlord/snapstate/handlers.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

overlord/snapstate/handlers.go#L781-L784

Added lines #L781 - L784 were not covered by tests

Check warning on line 802 in overlord/snapstate/handlers.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

overlord/snapstate/handlers.go#L801-L802

Added lines #L801 - L802 were not covered by tests

Check warning on line 75 in store/storetest/storetest.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

store/storetest/storetest.go#L74-L75

Added lines #L74 - L75 were not covered by tests