Part of bzrlib.repofmt.groupcompress_repo View In Hierarchy
Method | __init__ | Create a NewPack instance. |
Method | _check_references | Make sure our external references are present. |
Inherited from NewPack:
Method | abort | Cancel creating this pack. |
Method | access_tuple | Return a tuple (transport, name) for the pack content. |
Method | data_inserted | True if data has been added to this pack. |
Method | finish_content | Undocumented |
Method | finish | Finish the new pack. |
Method | flush | Flush any current data. |
Method | set_write_cache_size | Undocumented |
Method | _get_external_refs | Undocumented |
Method | _write_index | Write out an index. |
Inherited from Pack (via NewPack):
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 | _replace_index_with_readonly | Undocumented |
Parameters | pack_collection | A PackCollection into which this is being inserted. |
upload_suffix | An optional suffix to be given to any temporary files created during the pack creation. e.g '.autopack' | |
file_mode | An optional file mode to create the new files with. |
Packs are allowed to have deltas whose base is not in the pack, but it must be present somewhere in this collection. It is not allowed to have deltas based on a fallback repository. (See <https://bugs.launchpad.net/bzr/+bug/288751>)