class documentation
class DummyClient(TraditionalGitClient):
Undocumented
Method | __init__ |
Create a new GitClient instance. |
Instance Variable | can |
Undocumented |
Instance Variable | read |
Undocumented |
Instance Variable | write |
Undocumented |
Method | _connect |
Create a connection to the server. |
Inherited from TraditionalGitClient
:
Method | archive |
Retrieve an archive of the specified tree. |
Method | fetch |
Retrieve a pack from a git smart server. |
Method | get |
Retrieve the current refs from a git smart server. |
Method | send |
Upload a pack to a remote repository. |
Constant | DEFAULT |
Undocumented |
Instance Variable | _remote |
Undocumented |
Instance Variable | _report |
Undocumented |
Inherited from GitClient
(via TraditionalGitClient
):
Class Method | from |
Create an instance of this client from a urlparse.parsed object. |
Method | clone |
Clone a repository. |
Method | fetch |
Fetch into a target repository. |
Method | get |
Retrieves full url to given path. |
Static Method | _should |
Undocumented |
Method | _handle |
Handle the tail of a 'git-receive-pack' request. |
Method | _negotiate |
Undocumented |
Method | _negotiate |
Undocumented |
Instance Variable | _fetch |
Undocumented |
Instance Variable | _report |
Undocumented |
Instance Variable | _send |
Undocumented |
Create a new GitClient instance.
Parameters | |
can | Undocumented |
read | Undocumented |
write | Undocumented |
thin | Whether or not thin packs should be retrieved |
report | Optional callback for reporting transport activity. |
include | send annotated tags when sending the objects they point to |
Create a connection to the server.
This method is abstract - concrete implementations should implement their own variant which connects to the server and returns an initialized Protocol object with the service ready for use and a can_read function which may be used to see if reads would block.
Parameters | |
service | Undocumented |
path | The path we should pass to the service. (as bytestirng) |
cmd | The git service name to which we should connect. |