ipfs / go-datastore

key-value datastore interfaces
MIT License
230 stars 65 forks source link

Feat: import utility datastores from whyrusleeping repos #84

Closed hsanjuan closed 6 years ago

hsanjuan commented 6 years ago

This imports retrystore, failstore and autobatch from @whyrusleeping repos (see #83 ).

I have taken the liberty to golint-ify the modules (just godocs). Everything else is copy paste (retry has been renamed to retrystore).

codecov[bot] commented 6 years ago

Codecov Report

Merging #84 into master will increase coverage by 2.4%. The diff coverage is 73.52%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master      #84     +/-   ##
=========================================
+ Coverage   59.11%   61.51%   +2.4%     
=========================================
  Files           6        8      +2     
  Lines         340      408     +68     
=========================================
+ Hits          201      251     +50     
- Misses        125      141     +16     
- Partials       14       16      +2
Impacted Files Coverage Δ
retrystore/retrystore.go 100% <100%> (ø)
autobatch/autobatch.go 52.63% <52.63%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 198d461...c5f89f4. Read the comment docs.

hsanjuan commented 6 years ago

@Stebalien @whyrusleeping any one has bandwidth for this review?