class documentation
class ReceivePackHandler(PackHandler):
Constructor: ReceivePackHandler(backend, args, proto, stateless_rpc, ...)
Protocol handler for downloading a pack from the client.
| Method | __init__ |
Initialize receive-pack handler. |
| Method | capabilities |
Return supported capabilities. |
| Method | handle |
Handle receive-pack request. |
| Instance Variable | advertise |
Undocumented |
| Instance Variable | repo |
Undocumented |
| Method | _apply |
Apply received pack to repository. |
| Method | _on |
Run post-receive hook. |
| Method | _on |
Run pre-receive hook. |
| Method | _on |
Run update hook for a single ref. |
| Method | _report |
Report status to client. |
Inherited from PackHandler:
| Class Method | innocuous |
Return capabilities that don't affect protocol behavior. |
| Class Method | required |
Return a list of capabilities that we require the client to have. |
| Method | has |
Check if the client supports a specific capability. |
| Method | notify |
Notify that the 'done' command has been received from the client. |
| Method | set |
Set the client capabilities and validate them. |
| Instance Variable | _client |
Undocumented |
| Instance Variable | _done |
Undocumented |
Inherited from Handler (via PackHandler):
| Instance Variable | backend |
Undocumented |
| Instance Variable | proto |
Undocumented |
| Instance Variable | stateless |
Undocumented |