Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Fargher <jfargher@gitlab.com>2022-04-06 01:45:52 +0300
committerJames Fargher <jfargher@gitlab.com>2022-04-29 02:14:24 +0300
commit3d274cc65dea5022f1610f8013401f6bca0bef23 (patch)
tree260ad77363f1c90188630c111d7fea27fcca8c6f /proto/shared.proto
parent317c59fc930dee8ce68d39cb798460b760bde46b (diff)
Automatically lint proto files
Diffstat (limited to 'proto/shared.proto')
-rw-r--r--proto/shared.proto34
1 files changed, 17 insertions, 17 deletions
diff --git a/proto/shared.proto b/proto/shared.proto
index 07ca7c5d2..e5bb6a9f7 100644
--- a/proto/shared.proto
+++ b/proto/shared.proto
@@ -2,11 +2,11 @@ syntax = "proto3";
package gitaly;
-option go_package = "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb";
-
import "google/protobuf/timestamp.proto";
import "lint.proto";
+option go_package = "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb";
+
enum ObjectType {
UNKNOWN = 0;
COMMIT = 1;
@@ -128,19 +128,19 @@ message ObjectPool {
}
message PaginationParameter {
- // Instructs pagination to start sending results after the provided page
- // token appears. A page token allows for a generic pattern to uniquely
- // identify a result or 'page'. Each paginated RPC may interpret a page
- // token differently.
- string page_token = 1;
- // When fully consuming the response the client will receive _at most_
- // `limit` number of resulting objects. Note that the number of response
- // messages might be much lower, as some response messages already send
- // multiple objects per message.
- // When the limit is smaller than 0, it will be normalized to 2147483647
- // on the server side. When limit is not set, it defaults to 0, and no
- // results are send in the response.
- int32 limit = 2;
+ // Instructs pagination to start sending results after the provided page
+ // token appears. A page token allows for a generic pattern to uniquely
+ // identify a result or 'page'. Each paginated RPC may interpret a page
+ // token differently.
+ string page_token = 1;
+ // When fully consuming the response the client will receive _at most_
+ // `limit` number of resulting objects. Note that the number of response
+ // messages might be much lower, as some response messages already send
+ // multiple objects per message.
+ // When the limit is smaller than 0, it will be normalized to 2147483647
+ // on the server side. When limit is not set, it defaults to 0, and no
+ // results are send in the response.
+ int32 limit = 2;
}
message PaginationCursor {
@@ -151,8 +151,8 @@ message PaginationCursor {
// https://git-scm.com/docs/git/#_options
message GlobalOptions {
- // Treat pathspecs literally (i.e. no globbing, no pathspec magic)
- bool literal_pathspecs = 1;
+ // Treat pathspecs literally (i.e. no globbing, no pathspec magic)
+ bool literal_pathspecs = 1;
}
// SortDirection defines the sort direction.