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

diff_services_pb.rb « gitaly « proto « ruby - gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6259adfc21a8488375cf6b8f4f563a686dcd59ea (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
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# Source: diff.proto for package 'gitaly'

require 'grpc'
require 'diff_pb'

module Gitaly
  module DiffService
    class Service

      include GRPC::GenericService

      self.marshal_class_method = :encode
      self.unmarshal_class_method = :decode
      self.service_name = 'gitaly.DiffService'

      # Returns stream of CommitDiffResponse with patches chunked over messages
      rpc :CommitDiff, CommitDiffRequest, stream(CommitDiffResponse)
      # Return a stream so we can divide the response in chunks of deltas
      rpc :CommitDelta, CommitDeltaRequest, stream(CommitDeltaResponse)
      rpc :RawDiff, RawDiffRequest, stream(RawDiffResponse)
      rpc :RawPatch, RawPatchRequest, stream(RawPatchResponse)
      rpc :DiffStats, DiffStatsRequest, stream(DiffStatsResponse)
    end

    Stub = Service.rpc_stub_class
  end
end