class documentation

Result of a ls-remote operation.

Method __eq__ Check equality with another object.
Method __init__ Initialize LsRemoteResult.
Method __repr__ Return string representation of LsRemoteResult.
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
Method _warn_deprecated Undocumented

Inherited from _DeprecatedDictProxy:

Method __contains__ Undocumented
Method __getattribute__ Undocumented
Method __getitem__ Undocumented
Method __iter__ Undocumented
Method __len__ 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], object_format: str | None = None):

Initialize LsRemoteResult.

Parameters
refs:dict[Ref, ObjectID | None]Dictionary with all remote refs
symrefs:dict[Ref, Ref]Dictionary with remote symrefs
object_format:str | NoneObject format name (e.g., "sha1", "sha256") used by the remote
def __repr__(self) -> str:

Return string representation of LsRemoteResult.

object_format: str | None =

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

refs =

Dictionary with all remote refs

symrefs: dict[Ref, Ref] =

Dictionary with remote symrefs

def _warn_deprecated(self):