MCPcopy Create free account
hub / github.com/KentBeck/BPlusTree3 / print_node_chain

Method print_node_chain

rust/src/validation.rs:300–303  ·  view source on GitHub ↗

Prints the node chain for debugging.

(&self)

Source from the content-addressed store, hash-verified

298
299 /// Prints the node chain for debugging.
300 pub fn print_node_chain(&self) {
301 println!("Tree structure:");
302 self.print_node(&self.root, 0);
303 }
304
305 /// Recursively collect leaf sizes for debugging.
306 fn collect_leaf_sizes(&self, node: &NodeRef<K, V>, sizes: &mut Vec<usize>) {

Calls 1

print_nodeMethod · 0.80