[#53] object/range: Share object range traverser between services

Replace object range chain utilities to object/util package in order to
reuse it in other services.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2020-09-28 16:10:50 +03:00 committed by Alex Vanin
parent 759605410a
commit 8791c4f0a5
4 changed files with 126 additions and 21 deletions

View file

@ -10,8 +10,6 @@ type Prm struct {
addr *object.Address
rng *object.Range
traverser *rangeTraverser
}
func (p *Prm) OnlyLocal(v bool) *Prm {