b.r.p.ExistingPack(Pack) : class documentation

Part of bzrlib.repofmt.pack_repo View In Hierarchy

Known subclasses: bzrlib.repofmt.pack_repo.ResumedPack

An in memory proxy for an existing .pack and its disk indices.
Method __init__ Create an ExistingPack object.
Method __eq__ Undocumented
Method __ne__ Undocumented
Method __repr__ Undocumented

Inherited from Pack:

Method access_tuple Return a tuple (transport, name) for the pack content.
Method file_name Get the file name for the pack on disk.
Method get_revision_count Undocumented
Method index_name Get the disk name of an index type for pack name 'name'.
Method index_offset Get the position in a index_size array for a given index type.
Method inventory_index_name The inv index is the name + .iix.
Method revision_index_name The revision index is the name + .rix.
Method signature_index_name The signature index is the name + .six.
Method text_index_name The text index is the name + .tix.
Method _check_references Make sure our external references are present.
Method _replace_index_with_readonly Undocumented
def __init__(self, pack_transport, name, revision_index, inventory_index, text_index, signature_index, chk_index=None):
Create an ExistingPack object.
Parameterspack_transportThe transport where the pack file resides.
nameThe name of the pack on disk in the pack_transport.
def __eq__(self, other):
Undocumented
def __ne__(self, other):
Undocumented
def __repr__(self):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2019-07-22 00:30:44.