Class: RJGit::RJGitUploadPack

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) ⇒ RJGitUploadPack

Returns a new instance of RJGitUploadPack.



57
58
59
60
61
# File 'lib/transport.rb', line 57

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