module documentation
Generic functions for talking the git smart server protocol.
Class |
|
Writer that wraps its data in pkt-lines and has an independent buffer. |
Class |
|
Packet line parser that hands completed packets off to a callback. |
Class |
|
Class for interacting with a remote git process over the wire. |
Class |
|
Variant of Protocol that allows reading up to a size without blocking. |
Function | ack |
Extract the ack type from a capabilities list. |
Function | agent |
Undocumented |
Function | capability |
Undocumented |
Function | capability |
Undocumented |
Function | extract |
Extract a capabilities list from a string, if present. |
Function | extract |
Undocumented |
Function | extract |
Extract a capabilities list from a want line, if present. |
Function | format |
Undocumented |
Function | format |
Undocumented |
Function | format |
Undocumented |
Function | format |
Undocumented |
Function | format |
Undocumented |
Function | format |
Undocumented |
Function | parse |
Undocumented |
Function | parse |
Undocumented |
Function | pkt |
Wrap data in a pkt-line. |
Function | symref |
Undocumented |
Constant | CAPABILITIES |
Undocumented |
Constant | CAPABILITY |
Undocumented |
Constant | CAPABILITY |
Undocumented |
Constant | CAPABILITY |
Undocumented |
Constant | CAPABILITY |
Undocumented |
Constant | CAPABILITY |
Undocumented |
Constant | CAPABILITY |
Undocumented |
Constant | CAPABILITY |
Undocumented |
Constant | CAPABILITY |
Undocumented |
Constant | CAPABILITY |
Undocumented |
Constant | CAPABILITY |
Undocumented |
Constant | CAPABILITY |
Undocumented |
Constant | CAPABILITY |
Undocumented |
Constant | CAPABILITY |
Undocumented |
Constant | CAPABILITY |
Undocumented |
Constant | CAPABILITY |
Undocumented |
Constant | CAPABILITY |
Undocumented |
Constant | CAPABILITY |
Undocumented |
Constant | CAPABILITY |
Undocumented |
Constant | CAPABILITY |
Undocumented |
Constant | CAPABILITY |
Undocumented |
Constant | CAPABILITY |
Undocumented |
Constant | COMMAND |
Undocumented |
Constant | COMMAND |
Undocumented |
Constant | COMMAND |
Undocumented |
Constant | COMMAND |
Undocumented |
Constant | COMMAND |
Undocumented |
Constant | COMMAND |
Undocumented |
Constant | COMMON |
Undocumented |
Constant | DEPTH |
Undocumented |
Constant | KNOWN |
Undocumented |
Constant | KNOWN |
Undocumented |
Constant | MULTI |
Undocumented |
Constant | MULTI |
Undocumented |
Constant | NAK |
Undocumented |
Constant | SIDE |
Undocumented |
Constant | SIDE |
Undocumented |
Constant | SIDE |
Undocumented |
Constant | SINGLE |
Undocumented |
Constant | TCP |
Undocumented |
Constant | ZERO |
Undocumented |
Constant | _RBUFSIZE |
Undocumented |
Extract a capabilities list from a string, if present.
Returns: Tuple with text with capabilities removed and list of capabilities
Parameters | |
text | String to extract from |
Extract a capabilities list from a want line, if present.
Note that want lines have capabilities separated from the rest of the line by a space instead of a null byte. Thus want lines have the form:
want obj-id cap1 cap2 ...
Returns: Tuple with text with capabilities removed and list of capabilities
Parameters | |
text | Want line to extract from |
Wrap data in a pkt-line.
- Returns: The data prefixed with its length in pkt-line format; if data was
- None, returns the flush-pkt ('0000').
Parameters | |
data | The data to wrap, as a str or None. |
COMMON_CAPABILITIES =
¶
Undocumented
Value |
|
KNOWN_RECEIVE_CAPABILITIES =
¶
Undocumented
Value |
|