class documentation
class UploadPackHandler(PackHandler):
Known subclasses: dulwich.tests.test_server.TestUploadPackHandler
Protocol handler for uploading a pack to the client.
Class Method | capabilities |
Undocumented |
Class Method | required |
Return a list of capabilities that we require the client to have. |
Method | __init__ |
Undocumented |
Method | get |
Get a dict of peeled values of tags to their original tag shas. |
Method | handle |
Undocumented |
Method | progress |
Undocumented |
Instance Variable | advertise |
Undocumented |
Instance Variable | repo |
Undocumented |
Instance Variable | _graph |
Undocumented |
Instance Variable | _processing |
Undocumented |
Inherited from PackHandler
:
Class Method | innocuous |
Undocumented |
Method | has |
Undocumented |
Method | notify |
Undocumented |
Method | set |
Undocumented |
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 |
overridden in
dulwich.tests.test_server.TestUploadPackHandler
Return a list of capabilities that we require the client to have.
Get a dict of peeled values of tags to their original tag shas.
- Returns: dict of peeled_sha -> tag_sha, where tag_sha is the sha of a
- tag whose peeled value is peeled_sha.
Parameters | |
refs | dict of refname -> sha of possible tags; defaults to all of the backend's refs. |
repo | optional Repo instance for getting peeled refs; defaults to the backend's repo, if available |