Skip to main content

block_visit

Function block_visit 

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

Read a single block and call visitor (and optionally walk children with follow).

ยงErrors

Returns an error if any tree block cannot be read.