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

db, shelf: refactor + improved error handling + tests #9

Merged
merged 2 commits into from
Feb 7, 2023
Merged

Conversation

holiman
Copy link
Owner

@holiman holiman commented Feb 7, 2023

This change adds error handling to db.Iterate, and the compaction-function used during Open.
It also reduces the copypasta-factor (DRY) a bit, and adds some more tests.

@codecov
Copy link

codecov bot commented Feb 7, 2023

Codecov Report

Merging #9 (c70d090) into main (0f75cc6) will increase coverage by 1.06%.
The diff coverage is 62.06%.

@@            Coverage Diff             @@
##             main       #9      +/-   ##
==========================================
+ Coverage   82.42%   83.49%   +1.06%     
==========================================
  Files           2        2              
  Lines         313      309       -4     
==========================================
  Hits          258      258              
+ Misses         29       27       -2     
+ Partials       26       24       -2     

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