class documentation
class FetchPackResult(_DeprecatedDictProxy):
Constructor: FetchPackResult(refs, symrefs, agent, new_shallow, ...)
Result of a fetch-pack operation.
| Method | __eq__ |
Check equality with another object. |
| Method | __init__ |
Initialize FetchPackResult. |
| Method | __repr__ |
Return string representation of FetchPackResult. |
| Instance Variable | agent |
User agent string |
| Instance Variable | new |
Undocumented |
| Instance Variable | new |
Undocumented |
| Instance Variable | object |
Object format name (e.g., "sha1", "sha256") used by the remote, or None if not specified |
| Instance Variable | refs |
Dictionary with all remote refs |
| Instance Variable | symrefs |
Dictionary with remote symrefs |
Inherited from _DeprecatedDictProxy:
| Method | __contains__ |
Undocumented |
| Method | __getattribute__ |
Undocumented |
| Method | __getitem__ |
Undocumented |
| Method | __iter__ |
Undocumented |
| Method | __len__ |
Undocumented |
| Method | _warn |
Undocumented |
| Constant | _FORWARDED |
Undocumented |
def __init__(self, refs:
dict[ Ref, ObjectID | None], symrefs: dict[ Ref, Ref], agent: bytes | None, new_shallow: set[ ObjectID] | None = None, new_unshallow: set[ ObjectID] | None = None, object_format: str | None = None):
¶
Initialize FetchPackResult.
| Parameters | |
refs:dict[ | Dictionary with all remote refs |
symrefs:dict[ | Dictionary with remote symrefs |
agent:bytes | None | User agent string |
newset[ | New shallow commits |
newset[ | New unshallow commits |
objectstr | None | Object format name (e.g., "sha1", "sha256") used by the remote |