add comment

Co-authored-by: raulk <raul@protocol.ai>
This commit is contained in:
vyzo 2021-03-02 18:19:47 +02:00
parent 86fdad2e31
commit ab52e34e6a

View File

@ -47,6 +47,8 @@ func WrapIDStore(bstore blockstore.Blockstore) Blockstore {
return NewIDStore(bs)
}
// The underlying blockstore does not implement DeleteMany, so we need to shim it.
// This is less efficient as it'll iterate and perform single deletes.
return NewIDStore(Adapt(bstore))
}