forked from TrueCloudLab/frostfs-api-go
[#190] sdk/object: Implement AddParentIDFilter method on SearchFilters
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
3fb3cfd1a5
commit
e4111ff3e7
2 changed files with 32 additions and 0 deletions
|
@ -234,3 +234,7 @@ func (f *SearchFilters) AddChildfreeFilter() {
|
|||
func (f *SearchFilters) AddNonChildfreeFilter() {
|
||||
f.addChildFreeFilter(false)
|
||||
}
|
||||
|
||||
func (f *SearchFilters) AddParentIDFilter(m SearchMatchType, id *ID) {
|
||||
f.addReservedFilter(m, fKeyParent, id)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue