b.r.k.KnitRepositoryPackCollection(RepositoryPackCollection) : class documentation

Part of bzrlib.repofmt.knitpack_repo View In Hierarchy

A knit pack collection.

Inherited from RepositoryPackCollection:

Method __init__ Create a new RepositoryPackCollection.
Method __repr__ Undocumented
Method add_pack_to_memory Make a Pack object available to the repository to satisfy queries.
Method all_packs Return a list of all the Pack objects this repository has.
Method autopack Pack the pack collection incrementally.
Method lock_names Acquire the mutex around the pack-names index.
Method pack Pack the pack collection totally.
Method plan_autopack_combinations Plan a pack operation.
Method ensure_loaded Ensure we have read names from disk.
Method get_pack_by_name Get a Pack object by name.
Method allocate Allocate name in the list of packs.
Method names Provide an order to the underlying names.
Method pack_distribution Generate a list of the number of revisions to put in each pack.
Method reset Clear all cached data.
Method reload_pack_names Sync our pack listing with what is present in the repository.
Method _do_autopack Undocumented
Method _execute_pack_operations Execute a series of pack operations.
Method _flush_new_pack Undocumented
Method _already_packed Is the collection already packed?
Method _try_pack_operations Calculate the pack operations based on the hint (if any), and
Method _parse_index_sizes Parse a string of index sizes.
Method _resume_pack Get a suspended Pack object by name.
Method _iter_disk_pack_index Iterate over the contents of the pack-names index.
Method _make_index Undocumented
Method _max_pack_count Return the maximum number of packs to use for total revisions.
Method _obsolete_packs Move a number of packs which have been obsoleted out of the way.
Method _pack_tuple Return a tuple with the transport and file name for a pack name.
Method _remove_pack_from_memory Remove pack from the packs accessed by this repository.
Method _remove_pack_indices Remove the indices for pack from the aggregated indices.
Method _unlock_names Release the mutex around the pack-names index.
Method _diff_pack_names Read the pack names from disk, and compare it to the one in memory.
Method _syncronize_pack_names_from_disk_nodes Given the correct set of pack files, update our saved info.
Method _save_pack_names Save the list of packs.
Method _restart_autopack Reload the pack names list, and restart the autopack code.
Method _restart_pack_operations Reload the pack names list, and restart the autopack code.
Method _clear_obsolete_packs Delete everything from the obsolete-packs directory.
Method _start_write_group Undocumented
Method _abort_write_group Undocumented
Method _remove_resumed_pack_indices Undocumented
Method _check_new_inventories Detect missing inventories in this write group.
Method _commit_write_group Undocumented
Method _suspend_write_group Undocumented
Method _resume_write_group Undocumented
API Documentation for Bazaar, generated by pydoctor at 2019-10-15 00:33:37.