class documentation

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_shallow Undocumented
Instance Variable new_unshallow Undocumented
Instance Variable object_format 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_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], 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[Ref, ObjectID | None]Dictionary with all remote refs
symrefs:dict[Ref, Ref]Dictionary with remote symrefs
agent:bytes | NoneUser agent string
new_shallow:set[ObjectID] | NoneNew shallow commits
new_unshallow:set[ObjectID] | NoneNew unshallow commits
object_format:str | NoneObject format name (e.g., "sha1", "sha256") used by the remote
def __repr__(self) -> str:

Return string representation of FetchPackResult.

agent: bytes | None =

User agent string

new_shallow =

Undocumented

new_unshallow =

Undocumented

object_format: str | None =

Object format name (e.g., "sha1", "sha256") used by the remote, or None if not specified

refs: dict[Ref, ObjectID | None] =

Dictionary with all remote refs

symrefs: dict[Ref, Ref] =

Dictionary with remote symrefs