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

blob_services_pb.rb « gitaly « proto « ruby - gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1048b21daaa99b44991607e83c763e38bcd50501 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# Source: blob.proto for package 'gitaly'

require 'grpc'
require 'blob_pb'

module Gitaly
  module BlobService
    class Service

      include GRPC::GenericService

      self.marshal_class_method = :encode
      self.unmarshal_class_method = :decode
      self.service_name = 'gitaly.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
      rpc :GetBlob, Gitaly::GetBlobRequest, stream(Gitaly::GetBlobResponse)
      rpc :GetBlobs, Gitaly::GetBlobsRequest, stream(Gitaly::GetBlobsResponse)
      # GetLFSPointers retrieves LFS pointers from a given set of object IDs.
      # This RPC filters all requested objects and only returns those which refer
      # to a valid LFS pointer.
      rpc :GetLFSPointers, Gitaly::GetLFSPointersRequest, stream(Gitaly::GetLFSPointersResponse)
      # ListLFSPointers retrieves LFS pointers reachable from a given set of
      # revisions by doing a graph walk. This includes both normal revisions like
      # an object ID or branch, but also the pseudo-revisions "--all" and "--not"
      # as documented in git-rev-parse(1). Revisions which don't directly or
      # transitively reference any LFS pointers are ignored. It is not valid to
      # pass revisions which do not resolve to an existing object.
      rpc :ListLFSPointers, Gitaly::ListLFSPointersRequest, stream(Gitaly::ListLFSPointersResponse)
      # ListAllLFSPointers retrieves all LFS pointers in the repository, including
      # those not reachable by any reference.
      rpc :ListAllLFSPointers, Gitaly::ListAllLFSPointersRequest, stream(Gitaly::ListAllLFSPointersResponse)
    end

    Stub = Service.rpc_stub_class
  end
end