forked from TrueCloudLab/frostfs-node
dadfd90dcd
Initial public review release v0.10.0
15 lines
330 B
Go
15 lines
330 B
Go
package meta
|
|
|
|
import (
|
|
"github.com/nspcc-dev/neofs-api-go/object"
|
|
)
|
|
|
|
type (
|
|
// Iterator is an interface of the iterator over object storage.
|
|
Iterator interface {
|
|
Iterate(IterateFunc) error
|
|
}
|
|
|
|
// IterateFunc is a function that checks whether an object matches a specific criterion.
|
|
IterateFunc func(*object.Object) error
|
|
)
|