class documentation

class UnpackedObject(object):

View In Hierarchy

Class encapsulating an object unpacked from a pack file.

These objects should only be created from within unpack_object. Most members start out as empty and are filled in at various points by read_zlib_chunks, unpack_object, DeltaChainIterator, etc.

End users of this object should take care that the function they're getting this object from is guaranteed to set the members they need.

Method __eq__ Undocumented
Method __init__ Undocumented
Method __ne__ Undocumented
Method __repr__ Undocumented
Method sha Return the binary SHA of this object.
Method sha_file Return a ShaFile from this object.
Class Variable __slots__ Undocumented
Instance Variable comp_chunks Undocumented
Instance Variable crc32 Undocumented
Instance Variable decomp_chunks Undocumented
Instance Variable decomp_len Undocumented
Instance Variable delta_base Undocumented
Instance Variable obj_chunks Undocumented
Instance Variable obj_type_num Undocumented
Instance Variable offset Undocumented
Instance Variable pack_type_num Undocumented
Method _obj Return the decompressed chunks, or (delta base, delta chunks).
Instance Variable _sha Undocumented
def __eq__(self, other):

Undocumented

def __init__(self, pack_type_num, delta_base, decomp_len, crc32):

Undocumented

def __ne__(self, other):

Undocumented

def __repr__(self):

Undocumented

def sha(self):

Return the binary SHA of this object.

def sha_file(self):

Return a ShaFile from this object.

__slots__: list[str] =

Undocumented

comp_chunks =

Undocumented

crc32 =

Undocumented

decomp_chunks: list =

Undocumented

decomp_len =

Undocumented

delta_base =

Undocumented

obj_chunks =

Undocumented

obj_type_num =

Undocumented

offset =

Undocumented

pack_type_num =

Undocumented

def _obj(self):

Return the decompressed chunks, or (delta base, delta chunks).

_sha =

Undocumented