Sha256: 97857ab7373566b8cd0c0000c96d01cb968765ecf5a1d24213b288c5cb4112a6

Contents?: true

Size: 1.84 KB

Versions: 1

Compression:

Stored size: 1.84 KB

Contents

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# Source: diff.proto for package 'gitaly'

require 'grpc'
require 'diff_pb'

module Gitaly
  module DiffService
    # DiffService is a service which provides RPCs to inspect differences
    # introduced between a set of commits.
    class Service

      include ::GRPC::GenericService

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

      # CommitDiff returns stream of CommitDiffResponse with patches chunked over messages.
      rpc :CommitDiff, ::Gitaly::CommitDiffRequest, stream(::Gitaly::CommitDiffResponse)
      # CommitDelta returns a stream so we can divide the response in chunks of deltas.
      rpc :CommitDelta, ::Gitaly::CommitDeltaRequest, stream(::Gitaly::CommitDeltaResponse)
      # RawDiff ...
      rpc :RawDiff, ::Gitaly::RawDiffRequest, stream(::Gitaly::RawDiffResponse)
      # RawPatch ...
      rpc :RawPatch, ::Gitaly::RawPatchRequest, stream(::Gitaly::RawPatchResponse)
      # DiffStats ...
      rpc :DiffStats, ::Gitaly::DiffStatsRequest, stream(::Gitaly::DiffStatsResponse)
      # FindChangedPaths returns a list of files changed along with the status of each file
      rpc :FindChangedPaths, ::Gitaly::FindChangedPathsRequest, stream(::Gitaly::FindChangedPathsResponse)
      # GetPatchID computes a patch ID for a patch. Patch IDs are a unique ID computed by hashing
      # a patch with some parameters like line numbers ignored. The patch ID can thus be used to compare
      # whether diffs make the same change. Please refer to git-patch-id(1) for further information.
      # If the difference between old and new change is empty then this RPC returns an error.
      rpc :GetPatchID, ::Gitaly::GetPatchIDRequest, ::Gitaly::GetPatchIDResponse
    end

    Stub = Service.rpc_stub_class
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gitaly-16.5.0.pre.rc1 ruby/proto/gitaly/diff_services_pb.rb