pub fn make_tree(db: &DB, nodes: &[Node]) -> Result<Tree, Box<dyn Error>>
Expand description
Make the tree with the Root as root and the given nodes
as leaves.
Any given node that is not a leaf (because another given node is in
its sub-tree) is kept in the returned tree.