fn walk_node(
segments: &mut Vec<(u64, Data)>,
offset: &mut u64,
directories: &HashMap<B3Digest, Directory>,
node: &Node,
nar_node: Node<'_, Vec<u8>>,
) -> Result<(), RenderError>Expand description
Used during construction.
Recursively walks the node and its children, and fills segments with the appropriate
Data::Literal and Data::Blob elements.