class documentation

Result of a upload-pack operation.

Method __eq__ Check equality with another object.
Method __init__ Initialize SendPackResult.
Method __repr__ Return string representation of SendPackResult.
Instance Variable agent User agent string
Instance Variable ref_status Optional dictionary mapping ref name to error message (if it failed to update), or None if it was updated successfully
Instance Variable refs Dictionary with all remote refs

Inherited from _DeprecatedDictProxy:

Method __contains__ Undocumented
Method __getattribute__ Undocumented
Method __getitem__ Undocumented
Method __iter__ Undocumented
Method __len__ Undocumented
Method _warn_deprecated Undocumented
Constant _FORWARDED_ATTRS Undocumented
def __eq__(self, other: object) -> bool:

Check equality with another object.

def __init__(self, refs: dict[Ref, ObjectID | None], agent: bytes | None = None, ref_status: dict[bytes, str | None] | None = None):

Initialize SendPackResult.

Parameters
refs:dict[Ref, ObjectID | None]Dictionary with all remote refs
agent:bytes | NoneUser agent string
ref_status:dict[bytes, str | None] | NoneOptional dictionary mapping ref name to error message
def __repr__(self) -> str:

Return string representation of SendPackResult.

agent =

User agent string

ref_status =

Optional dictionary mapping ref name to error message (if it failed to update), or None if it was updated successfully

refs =

Dictionary with all remote refs