ipfs / go-ipld-git

ipld handlers for git objects
MIT License
57 stars 19 forks source link

Precompute Blob CID, fixes #21 #27

Closed sameer closed 5 years ago

sameer commented 5 years ago

The Blob type is changed to a struct with rawdata and cid members so Blob CIDs can be precomputed in ReadBlob.

Let me know if there are any changes that need to be made, feedback is welcome.