b._chk_map_py : module documentation

Part of bzrlib

Python implementation of _search_key functions, etc.
Function _crc32 Undocumented
Function _search_key_16 Map the key tuple into a search key string which has 16-way fan out.
Function _search_key_255 Map the key tuple into a search key string which has 255-way fan out.
Function _deserialise_leaf_node Deserialise bytes, with key key, into a LeafNode.
Function _deserialise_internal_node Undocumented
Function _bytes_to_text_key Take a CHKInventory value string and return a (file_id, rev_id) tuple
def _crc32(bit):
Undocumented
def _search_key_16(key):
Map the key tuple into a search key string which has 16-way fan out.
def _search_key_255(key):
Map the key tuple into a search key string which has 255-way fan out.

    We use 255-way because '
' is used as a delimiter, and causes problems
    while parsing.
    
def _deserialise_leaf_node(bytes, key, search_key_func=None):
Deserialise bytes, with key key, into a LeafNode.
ParametersbytesThe bytes of the node.
keyThe key that the serialised node has.
def _deserialise_internal_node(bytes, key, search_key_func=None):
Undocumented
def _bytes_to_text_key(bytes):
Take a CHKInventory value string and return a (file_id, rev_id) tuple
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.