Skip to content

checksum: handle hexadecimal/base64 confusion and retry

Codecov / codecov/patch succeeded Sep 1, 2024 in 1s

88.21% of diff hit (target 87.92%)

View this Pull Request on Codecov

88.21% of diff hit (target 87.92%)

Annotations

Check warning on line 59 in src/uucore/src/lib/features/checksum/algo.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/checksum/algo.rs#L56-L59

Added lines #L56 - L59 were not covered by tests

Check warning on line 65 in src/uucore/src/lib/features/checksum/algo.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/checksum/algo.rs#L64-L65

Added lines #L64 - L65 were not covered by tests

Check warning on line 69 in src/uucore/src/lib/features/checksum/algo.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/checksum/algo.rs#L69

Added line #L69 was not covered by tests

Check warning on line 73 in src/uucore/src/lib/features/checksum/algo.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/checksum/algo.rs#L73

Added line #L73 was not covered by tests

Check warning on line 152 in src/uucore/src/lib/features/checksum/algo.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/checksum/algo.rs#L152

Added line #L152 was not covered by tests

Check warning on line 162 in src/uucore/src/lib/features/checksum/algo.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/checksum/algo.rs#L162

Added line #L162 was not covered by tests

Check warning on line 172 in src/uucore/src/lib/features/checksum/algo.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/checksum/algo.rs#L172

Added line #L172 was not covered by tests

Check warning on line 214 in src/uucore/src/lib/features/checksum/algo.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/checksum/algo.rs#L214

Added line #L214 was not covered by tests

Check warning on line 77 in src/uucore/src/lib/features/checksum/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/checksum/mod.rs#L77

Added line #L77 was not covered by tests

Check warning on line 84 in src/uucore/src/lib/features/checksum/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/checksum/mod.rs#L80-L84

Added lines #L80 - L84 were not covered by tests

Check warning on line 146 in src/uucore/src/lib/features/checksum/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/checksum/mod.rs#L144-L146

Added lines #L144 - L146 were not covered by tests

Check warning on line 152 in src/uucore/src/lib/features/checksum/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/checksum/mod.rs#L150-L152

Added lines #L150 - L152 were not covered by tests

Check warning on line 165 in src/uucore/src/lib/features/checksum/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/checksum/mod.rs#L163-L165

Added lines #L163 - L165 were not covered by tests

Check warning on line 220 in src/uucore/src/lib/features/checksum/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/checksum/mod.rs#L220

Added line #L220 was not covered by tests

Check warning on line 253 in src/uucore/src/lib/features/checksum/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/checksum/mod.rs#L253

Added line #L253 was not covered by tests

Check warning on line 287 in src/uucore/src/lib/features/checksum/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/checksum/mod.rs#L285-L287

Added lines #L285 - L287 were not covered by tests

Check warning on line 462 in src/uucore/src/lib/features/checksum/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/checksum/mod.rs#L462

Added line #L462 was not covered by tests

Check warning on line 561 in src/uucore/src/lib/features/checksum/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/checksum/mod.rs#L561

Added line #L561 was not covered by tests

Check warning on line 627 in src/uucore/src/lib/features/checksum/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/checksum/mod.rs#L627

Added line #L627 was not covered by tests

Check warning on line 651 in src/uucore/src/lib/features/checksum/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/checksum/mod.rs#L651

Added line #L651 was not covered by tests

Check warning on line 653 in src/uucore/src/lib/features/checksum/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/checksum/mod.rs#L653

Added line #L653 was not covered by tests

Check warning on line 810 in src/uucore/src/lib/features/checksum/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/checksum/mod.rs#L810

Added line #L810 was not covered by tests

Check warning on line 76 in src/uucore/src/lib/features/checksum/utils.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/checksum/utils.rs#L74-L76

Added lines #L74 - L76 were not covered by tests

Check warning on line 292 in src/uucore/src/lib/lib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/lib.rs#L292

Added line #L292 was not covered by tests

Check warning on line 297 in src/uucore/src/lib/lib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/lib.rs#L297

Added line #L297 was not covered by tests