go-car icon indicating copy to clipboard operation
go-car copied to clipboard

Open a ReadWrite blockstore without knowing the root Cid

Open MichaelMure opened this issue 1 year ago • 8 comments

Kinda connected to https://github.com/ipld/go-car/issues/196

It's quite odd to me that OpenReadWrite() require passing the expected root, while that information is in the file header. This prevent from simply opening the file and accessing the roots.

Is there a reason for this?

MichaelMure avatar Mar 16 '23 15:03 MichaelMure