ipld / py-cid

Self-describing content-addressed identifiers for distributed systems implementation in Python
MIT License
36 stars 19 forks source link

Add multihash validation while creating CID #21

Closed dhruvbaldawa closed 6 years ago

dhruvbaldawa commented 6 years ago

This PR resolves #17 and adds validation for multihash while creating the CID

codecov[bot] commented 6 years ago

Codecov Report

Merging #21 into master will decrease coverage by 5.15%. The diff coverage is 90%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #21      +/-   ##
==========================================
- Coverage     100%   94.84%   -5.16%     
==========================================
  Files           1        1              
  Lines          91       97       +6     
  Branches       12       12              
==========================================
+ Hits           91       92       +1     
- Misses          0        4       +4     
- Partials        0        1       +1
Impacted Files Coverage Δ
cid/cid.py 94.84% <90%> (-5.16%) :arrow_down:

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 13a0af0...a2bed15. Read the comment docs.