rustic_core
rustic_core copied to clipboard
feat: Add Repository::drop_index and ::drop_data_from_index
Adds the methods drop_index and drop_data_from_index to Repository. This can be handy to save memory if the index is no longer needed.
Codecov Report
Attention: Patch coverage is 19.35484% with 25 lines in your changes missing coverage. Please review.
Project coverage is 48.0%. Comparing base (
483e777) to head (4d6c800). Report is 2 commits behind head on main.
Additional details and impacted files
| Files with missing lines | Coverage Δ | |
|---|---|---|
| crates/core/tests/integration.rs | 76.9% <ø> (-3.9%) |
:arrow_down: |
| crates/core/src/index.rs | 59.1% <0.0%> (-4.7%) |
:arrow_down: |
| crates/core/src/index/binarysorted.rs | 82.6% <0.0%> (-4.3%) |
:arrow_down: |
| crates/core/src/repository.rs | 47.6% <25.0%> (-1.6%) |
:arrow_down: |