Part of bzrlib.repofmt.pack_repo View In Hierarchy
Known subclasses: bzrlib.repofmt.groupcompress_repo.GCPack
Method | __init__ | Create a NewPack instance. |
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:
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 |
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 | Unix permissions for newly created file. |