b.c.CHKMapDifference(object) : class documentation

Part of bzrlib.chk_map View In Hierarchy

Iterate the stored pages and key,value pairs for (new - old).

This class provides a generator over the stored CHK pages and the (key, value) pairs that are in any of the new maps and not in any of the old maps.

Note that it may yield chk pages that are common (especially root nodes), but it won't yield (key,value) pairs that are common.

Method __init__ Undocumented
Method process Undocumented
Method _read_nodes_from_store Undocumented
Method _read_old_roots Undocumented
Method _enqueue_old Undocumented
Method _read_all_roots Read the root pages.
Method _flush_new_queue Undocumented
Method _process_next_old Undocumented
Method _process_queues Undocumented
def __init__(self, store, new_root_keys, old_root_keys, search_key_func, pb=None):
Undocumented
def _read_nodes_from_store(self, keys):
Undocumented
def _read_old_roots(self):
Undocumented
def _enqueue_old(self, new_prefixes, old_chks_to_enqueue):
Undocumented
def _read_all_roots(self):
Read the root pages.

This is structured as a generator, so that the root records can be yielded up to whoever needs them without any buffering.

def _flush_new_queue(self):
Undocumented
def _process_next_old(self):
Undocumented
def _process_queues(self):
Undocumented
def process(self):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.