Sha256: e25c4c9d2436d1bcc4d02886077c4e76efa08e2ee2131f2dee446cec5fa2653e

Contents?: true

Size: 970 Bytes

Versions: 7

Compression:

Stored size: 970 Bytes

Contents

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

require 'grpc'
require 'ref_pb'

module Gitaly
  module Ref
    class Service

      include GRPC::GenericService

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

      rpc :FindDefaultBranchName, FindDefaultBranchNameRequest, FindDefaultBranchNameResponse
      rpc :FindAllBranchNames, FindAllBranchNamesRequest, stream(FindAllBranchNamesResponse)
      rpc :FindAllTagNames, FindAllTagNamesRequest, stream(FindAllTagNamesResponse)
      # Find a Ref matching the given constraints. Response may be empty.
      rpc :FindRefName, FindRefNameRequest, FindRefNameResponse
      # Return a stream so we can divide the response in chunks of branches
      rpc :FindLocalBranches, FindLocalBranchesRequest, stream(FindLocalBranchesResponse)
    end

    Stub = Service.rpc_stub_class
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
gitaly-0.9.0 ruby/lib/gitaly/ref_services_pb.rb
gitaly-0.8.0 ruby/lib/gitaly/ref_services_pb.rb
gitaly-0.7.0 ruby/lib/gitaly/ref_services_pb.rb
gitaly-0.6.0 ruby/lib/gitaly/ref_services_pb.rb
gitaly-0.5.1 ruby/lib/gitaly/ref_services_pb.rb
gitaly-0.5.0 ruby/lib/gitaly/ref_services_pb.rb
gitaly-0.4.0 ruby/lib/gitaly/ref_services_pb.rb