Skip to main content

tree_walk

Function tree_walk 

Source
pub fn tree_walk<R: Read + Seek>(
    reader: &mut BlockReader<R>,
    root_logical: u64,
    traversal: Traversal,
    visitor: &mut dyn FnMut(&TreeBlock),
) -> Result<()>
Expand description

Walk a tree starting at root_logical, calling visitor for each block.

ยงErrors

Returns an error if any tree block cannot be read.