diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-05-02 12:42:47 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-05-09 13:10:27 +0300 |
commit | 4c7a9be67a16746bf6f44a68caf75a7cffd5e969 (patch) | |
tree | 9c091fa5d827808b66c0a1053e7cff3d15e23482 /proto/blob.proto | |
parent | 95c3d0fc69bf4ed0f850e123eb03b909c8547199 (diff) |
proto: Enforce comment-linting for RPC definitions
Enforce that RPC definitions must have a comment and add a placeholder
for all instances where such a comment is missing.
Diffstat (limited to 'proto/blob.proto')
-rw-r--r-- | proto/blob.proto | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/proto/blob.proto b/proto/blob.proto index f6ded95b8..f176fa967 100644 --- a/proto/blob.proto +++ b/proto/blob.proto @@ -10,6 +10,7 @@ option go_package = "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb"; // BlobService is a service which provides RPCs to retrieve Git blobs from a // specific repository. service BlobService { + // GetBlob returns the contents of a blob object referenced by its object // ID. We use a stream to return a chunked arbitrarily large binary // response @@ -18,6 +19,8 @@ service BlobService { op: ACCESSOR }; } + + // This comment is left unintentionally blank. rpc GetBlobs(GetBlobsRequest) returns (stream GetBlobsResponse) { option (op_type) = { op: ACCESSOR |