Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add read-data-subset to CheckOptions; allow to check given trees #262

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

aawsome
Copy link
Member

@aawsome aawsome commented Sep 8, 2024

Adds Repository::check_with_trees which allows to do tree and data check only for the given trees.

Moreover, CheckOptions now have the read_data_subset option which allows to read only parts of the pack files.

closes rustic-rs/rustic#251

Copy link

codecov bot commented Sep 8, 2024

Codecov Report

Attention: Patch coverage is 69.56522% with 21 lines in your changes missing coverage. Please review.

Project coverage is 45.9%. Comparing base (c504c29) to head (a848711).

Files with missing lines Patch % Lines
crates/core/src/commands/check.rs 72.4% 16 Missing ⚠️
crates/core/src/id.rs 50.0% 3 Missing ⚠️
crates/core/src/repository.rs 60.0% 2 Missing ⚠️
Additional details and impacted files
Files with missing lines Coverage Δ
crates/core/src/error.rs 57.1% <ø> (ø)
crates/core/src/repository.rs 48.5% <60.0%> (+0.9%) ⬆️
crates/core/src/id.rs 45.7% <50.0%> (-2.7%) ⬇️
crates/core/src/commands/check.rs 66.8% <72.4%> (+2.4%) ⬆️

... and 20 files with indirect coverage changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

check --read-data: Add options to check subset of packs + warm-up options
1 participant