5e2ca0d04b
In previous implementation `Blobovnicza.Iterate` op decoded object data only and passed it to the handler. There is a need to iterate over all addresses of the stored objects. Add `DecodeAddresses` and `WithoutData` methods of `IteratePrm` type. Add `Address` method to `IterationElement` type. Make `Iterate` to decode object addresses if `DecodeAddress` was called and not read the data if `WithoutData` was called. Implement `IterateAddresses` helper function to simplify the code. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru> |
||
---|---|---|
.. | ||
blobovnicza.go | ||
blobovnicza_test.go | ||
control.go | ||
delete.go | ||
get.go | ||
get_range.go | ||
id.go | ||
iterate.go | ||
put.go | ||
sizes.go | ||
sizes_test.go |