[#1523] local_object_storage: Unify parameters for the Exists
operation
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
d75d030a90
commit
ca15083a50
6 changed files with 51 additions and 59 deletions
13
pkg/local_object_storage/blobstor/common/exists.go
Normal file
13
pkg/local_object_storage/blobstor/common/exists.go
Normal file
|
@ -0,0 +1,13 @@
|
|||
package common
|
||||
|
||||
import oid "github.com/nspcc-dev/neofs-sdk-go/object/id"
|
||||
|
||||
// ExistsPrm groups the parameters of Exists operation.
|
||||
type ExistsPrm struct {
|
||||
Address oid.Address
|
||||
}
|
||||
|
||||
// ExistsRes groups the resulting values of Exists operation.
|
||||
type ExistsRes struct {
|
||||
Exists bool
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue