Class: Command::UploadPack
- Includes:
- RemoteAgent, SendObjects
- Defined in:
- lib/command/upload_pack.rb
Constant Summary collapse
- CAPABILITIES =
["ofs-delta"]
Constants included from RemoteAgent
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods included from SendObjects
Methods included from RemoteAgent
#accept_client, #detect_git_dir, #git_repository?, #repo, #send_references
Methods inherited from Base
Constructor Details
This class inherits a constructor from Command::Base
Instance Method Details
#run ⇒ Object
15 16 17 18 19 20 21 22 23 24 |
# File 'lib/command/upload_pack.rb', line 15 def run accept_client("upload-pack", CAPABILITIES) send_references recv_want_list recv_have_list send_objects exit 0 end |