Skip to content

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

Codecov / codecov/patch failed Nov 7, 2024 in 0s

75.00% of diff hit (target 89.68%)

View this Pull Request on Codecov

75.00% of diff hit (target 89.68%)

Annotations

Check warning on line 1915 in bzlib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

bzlib.rs#L1915

Added line #L1915 was not covered by tests

Check warning on line 1959 in bzlib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

bzlib.rs#L1959

Added line #L1959 was not covered by tests

Check warning on line 1992 in bzlib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

bzlib.rs#L1992

Added line #L1992 was not covered by tests

Check warning on line 2107 in bzlib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

bzlib.rs#L2107

Added line #L2107 was not covered by tests

Check warning on line 2254 in bzlib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

bzlib.rs#L2254

Added line #L2254 was not covered by tests

Check warning on line 2259 in bzlib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

bzlib.rs#L2259

Added line #L2259 was not covered by tests

Check warning on line 2282 in bzlib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

bzlib.rs#L2282

Added line #L2282 was not covered by tests

Check warning on line 2297 in bzlib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

bzlib.rs#L2297

Added line #L2297 was not covered by tests

Check warning on line 2333 in bzlib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

bzlib.rs#L2333

Added line #L2333 was not covered by tests

Check warning on line 2393 in bzlib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

bzlib.rs#L2393

Added line #L2393 was not covered by tests

Check warning on line 2502 in bzlib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

bzlib.rs#L2502

Added line #L2502 was not covered by tests

Check warning on line 2572 in bzlib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

bzlib.rs#L2572

Added line #L2572 was not covered by tests

Check warning on line 2864 in bzlib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

bzlib.rs#L2864

Added line #L2864 was not covered by tests

Check warning on line 2867 in bzlib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

bzlib.rs#L2867

Added line #L2867 was not covered by tests

Check warning on line 2870 in bzlib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

bzlib.rs#L2870

Added line #L2870 was not covered by tests

Check warning on line 2899 in bzlib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

bzlib.rs#L2899

Added line #L2899 was not covered by tests

Check warning on line 3016 in bzlib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

bzlib.rs#L3014-L3016

Added lines #L3014 - L3016 were not covered by tests

Check warning on line 3018 in bzlib.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

bzlib.rs#L3018

Added line #L3018 was not covered by tests