Skip to content

`struct BZFILE`: just make it a struct with private fields

Codecov / codecov/patch failed Nov 8, 2024 in 1s

76.25% of diff hit (target 92.62%)

View this Pull Request on Codecov

76.25% of diff hit (target 92.62%)

Annotations

Check warning on line 1916 in bzlib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

bzlib.rs#L1916

Added line #L1916 was not covered by tests

Check warning on line 1960 in bzlib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

bzlib.rs#L1960

Added line #L1960 was not covered by tests

Check warning on line 2108 in bzlib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

bzlib.rs#L2108

Added line #L2108 was not covered by tests

Check warning on line 2255 in bzlib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

bzlib.rs#L2255

Added line #L2255 was not covered by tests

Check warning on line 2260 in bzlib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

bzlib.rs#L2260

Added line #L2260 was not covered by tests

Check warning on line 2283 in bzlib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

bzlib.rs#L2283

Added line #L2283 was not covered by tests

Check warning on line 2298 in bzlib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

bzlib.rs#L2298

Added line #L2298 was not covered by tests

Check warning on line 2334 in bzlib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

bzlib.rs#L2334

Added line #L2334 was not covered by tests

Check warning on line 2394 in bzlib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

bzlib.rs#L2394

Added line #L2394 was not covered by tests

Check warning on line 2503 in bzlib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

bzlib.rs#L2503

Added line #L2503 was not covered by tests

Check warning on line 2573 in bzlib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

bzlib.rs#L2573

Added line #L2573 was not covered by tests

Check warning on line 2865 in bzlib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

bzlib.rs#L2865

Added line #L2865 was not covered by tests

Check warning on line 2868 in bzlib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

bzlib.rs#L2868

Added line #L2868 was not covered by tests

Check warning on line 2871 in bzlib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

bzlib.rs#L2871

Added line #L2871 was not covered by tests

Check warning on line 2900 in bzlib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

bzlib.rs#L2900

Added line #L2900 was not covered by tests

Check warning on line 3017 in bzlib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

bzlib.rs#L3015-L3017

Added lines #L3015 - L3017 were not covered by tests

Check warning on line 3019 in bzlib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

bzlib.rs#L3019

Added line #L3019 was not covered by tests