ipld / go-car

A content addressible archive utility
Other
149 stars 44 forks source link

feat: expose index for StorageCar #431

Closed rvagg closed 1 year ago

rvagg commented 1 year ago

Mirrors https://github.com/ipld/go-car/pull/387 but for v2/storage instead of v2/blockstore; since we don't have an AllKeysChan equivalent, I think this is probably the simplest path to exposing simple "iterate-all", and even a fast "has" functionality. I've already been making use of this exposed index.