Part of bzrlib.chk_map View In Hierarchy
Known subclasses: bzrlib.chk_map.InternalNode, bzrlib.chk_map.LeafNode
Instance Variables | _raw_size | The total size of the serialized key:value data, before adding the header bytes, and without prefix compression. |
Method | __init__ | Create a node. |
Method | __repr__ | Undocumented |
Method | key | Undocumented |
Method | __len__ | Undocumented |
Method | maximum_size | What is the upper limit for adding references to a node. |
Method | set_maximum_size | Set the size threshold for nodes. |
Class Method | common_prefix | Given 2 strings, return the longest prefix common to both. |
Class Method | common_prefix_for_keys | Given a list of keys, find their common prefix. |
Parameters | key_width | The width of keys for this node. |
Parameters | new_size | The size at which no data is added to a node. 0 for unlimited. |