forked from nspcc-dev/neofs-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[nspcc-dev#194] object: Replace
Lock
message to a separate package
Create `lock` package and replace `Lock` message into it to follow the same approach as with `StorageGroup` and `Tombstone`. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
- Loading branch information
Leonard Lyubich
committed
Feb 18, 2022
1 parent
fab4c7b
commit adecc9d
Showing
2 changed files
with
14 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
syntax = "proto3"; | ||
|
||
package neo.fs.v2.lock; | ||
|
||
option go_package = "github.com/nspcc-dev/neofs-api-go/v2/lock/grpc;lock"; | ||
option csharp_namespace = "Neo.FileStorage.API.Lock"; | ||
|
||
import "refs/types.proto"; | ||
|
||
// Lock keeps record of objects that are locked. | ||
message Lock { | ||
// List of objects to be locked. | ||
repeated neo.fs.v2.refs.ObjectID members = 1 [json_name = "members"]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters