Skip to content

Refactor `compare_and_extract_chunks` and improve test coverage

Codecov / codecov/patch failed Jan 16, 2025 in 1s

77.96% of diff hit (target 81.83%)

View this Pull Request on Codecov

77.96% of diff hit (target 81.83%)

Annotations

Check warning on line 774 in src/borg/archive.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/borg/archive.py#L774

Added line #L774 was not covered by tests

Check warning on line 778 in src/borg/archive.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/borg/archive.py#L777-L778

Added lines #L777 - L778 were not covered by tests

Check warning on line 790 in src/borg/archive.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/borg/archive.py#L790

Added line #L790 was not covered by tests

Check warning on line 794 in src/borg/archive.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/borg/archive.py#L794

Added line #L794 was not covered by tests

Check warning on line 798 in src/borg/archive.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/borg/archive.py#L797-L798

Added lines #L797 - L798 were not covered by tests

Check warning on line 903 in src/borg/archive.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/borg/archive.py#L903

Added line #L903 was not covered by tests