Skip to content

Commit

Permalink
Add optional lock to TouchFile
Browse files Browse the repository at this point in the history
  • Loading branch information
glpatcern committed Aug 1, 2024
1 parent e2b944a commit 5baf60f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cs3/storage/provider/v1beta1/provider_api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,11 @@ message TouchFileRequest {
// REQUIRED.
// The reference to which the action should be performed.
Reference ref = 2;
// OPTIONAL.
// A lock_id: should the reference be locked, the stored
// lock_id MUST be equal to the given value. However, implementations
// MAY allow touching an existing file even with a mismatching lock.
string lock_id = 3;
}

message TouchFileResponse {
Expand Down

0 comments on commit 5baf60f

Please sign in to comment.