pub fn compute_range<'store, It, HAST>(
    root: HAST::IdN,
    offsets: &mut It,
    stores: &'store HAST
) -> (usize, usize, HAST::IdN)where
    HAST: HyperAST<'store>,
    HAST::IdN: Copy,
    HAST::T: WithSerialization,
    It: Iterator,
    It::Item: PrimInt,
Expand description

precondition: root node do not contain a File node TODO make whole thing more specific to a path in a tree