1# Generated by the protocol buffer compiler. DO NOT EDIT! 2# Source: diff.proto for package 'gitaly' 3 4require 'grpc' 5require 'diff_pb' 6 7module Gitaly 8 module DiffService 9 class Service 10 11 include GRPC::GenericService 12 13 self.marshal_class_method = :encode 14 self.unmarshal_class_method = :decode 15 self.service_name = 'gitaly.DiffService' 16 17 # Returns stream of CommitDiffResponse with patches chunked over messages 18 rpc :CommitDiff, Gitaly::CommitDiffRequest, stream(Gitaly::CommitDiffResponse) 19 # Return a stream so we can divide the response in chunks of deltas 20 rpc :CommitDelta, Gitaly::CommitDeltaRequest, stream(Gitaly::CommitDeltaResponse) 21 rpc :RawDiff, Gitaly::RawDiffRequest, stream(Gitaly::RawDiffResponse) 22 rpc :RawPatch, Gitaly::RawPatchRequest, stream(Gitaly::RawPatchResponse) 23 rpc :DiffStats, Gitaly::DiffStatsRequest, stream(Gitaly::DiffStatsResponse) 24 # Return a list of files changed along with the status of each file 25 rpc :FindChangedPaths, Gitaly::FindChangedPathsRequest, stream(Gitaly::FindChangedPathsResponse) 26 end 27 28 Stub = Service.rpc_stub_class 29 end 30end 31