Class: RJGit::RJGitReceivePack

Inherits:
RJGitPack show all
Defined in:
lib/transport.rb

Instance Attribute Summary

Attributes inherited from RJGitPack

#bidirectional, #jpack, #jrepo

Instance Method Summary collapse

Methods inherited from RJGitPack

#advertise_refs, #process

Constructor Details

#initialize(repository, bidirectional = false) ⇒ RJGitReceivePack

Returns a new instance of RJGitReceivePack.


47
48
49
50
51
# File 'lib/transport.rb', line 47

def initialize(repository, bidirectional = false)
  super
  @jpack = ReceivePack.new(@jrepo)
  @action = :receive
end