pub fn build_tree<R: Read + Seek>( reader: &mut R, directory: Vec<DirEntry>, ) -> Result<TreeNode>
Build a tree from directory entries