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 Repository::drop_index and ::drop_data_from_index #166

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aawsome
Copy link
Member

@aawsome aawsome commented Feb 18, 2024

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.

@aawsome aawsome changed the title feat: Add Repository::drop_index feat: Add Repository::drop_index and ::drop_data_from_index Feb 19, 2024
Copy link

codecov bot commented Mar 9, 2024

Codecov Report

Attention: Patch coverage is 19.35484% with 25 lines in your changes missing coverage. Please review.

Project coverage is 43.4%. Comparing base (3db5ace) to head (f65eaf2).

Files Patch % Lines
crates/core/src/repository.rs 25.0% 18 Missing ⚠️
crates/core/src/index/binarysorted.rs 0.0% 5 Missing ⚠️
crates/core/src/index.rs 0.0% 2 Missing ⚠️
Additional details and impacted files
Files Coverage Δ
crates/core/tests/integration.rs 76.9% <ø> (ø)
crates/core/src/index.rs 52.0% <0.0%> (-5.7%) ⬇️
crates/core/src/index/binarysorted.rs 84.7% <0.0%> (-5.0%) ⬇️
crates/core/src/repository.rs 34.8% <25.0%> (-0.6%) ⬇️

... and 14 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.

None yet

1 participant