2020-12-17 16:12:07 +00:00
|
|
|
package storagegroup
|
|
|
|
|
|
|
|
import (
|
2021-11-10 07:08:33 +00:00
|
|
|
"github.com/nspcc-dev/neofs-sdk-go/object"
|
2020-12-17 16:12:07 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// SearchQuery returns search query to filter
|
|
|
|
// objects with storage group content.
|
|
|
|
func SearchQuery() object.SearchFilters {
|
|
|
|
fs := object.SearchFilters{}
|
|
|
|
fs.AddTypeFilter(object.MatchStringEqual, object.TypeStorageGroup)
|
|
|
|
|
|
|
|
return fs
|
|
|
|
}
|