class documentation

class PackChunkGenerator(object):

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method __iter__ Undocumented
Method sha1digest Undocumented
Instance Variable cs Undocumented
Instance Variable entries Undocumented
Method _pack_data_chunks Iterate pack data file chunks..
Instance Variable _it Undocumented
def __init__(self, num_records=None, records=None, progress=None, compression_level=-1):

Undocumented

def __iter__(self):

Undocumented

def sha1digest(self):

Undocumented

cs =

Undocumented

entries: dict =

Undocumented

def _pack_data_chunks(self, num_records=None, records=None, progress=None, compression_level=-1):

Iterate pack data file chunks..

Returns: Dict mapping id -> (offset, crc32 checksum), pack checksum

Parameters
num_recordsNumber of records (defaults to len(records) if None)
recordsIterator over type_num, object_id, delta_base, raw
progressFunction to report progress to
compression_levelthe zlib compression level
_it =

Undocumented