Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add lock to TouchFile + minor comments #232

Merged
merged 2 commits into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions cs3/ocm/provider/v1beta1/resources.proto
Original file line number Diff line number Diff line change
Expand Up @@ -81,19 +81,19 @@ message ProviderInfo {
// REQUIRED.
// The full name of the provider.
string full_name = 2;
// REQUIRED.
// OPTIONAL.
// A description of the provider.
string description = 3;
// REQUIRED.
// OPTIONAL.
// The organization to which the provider belongs.
string organization = 4;
// REQUIRED.
// The domain of the sync'n'share provider.
string domain = 5;
// REQUIRED.
// OPTIONAL.
// The homepage of the provider.
string homepage = 6;
// REQUIRED.
// OPTIONAL.
// The email at which the provider can be reached.
string email = 7;
// REQUIRED.
Expand Down
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