fn build_tree_from_fs(
        &mut self,
        ctx: &mut BuildContext,
        bootstrap_ctx: &mut BootstrapContext,
    ) -> Result<Tree> {
        let node = Node::new(
            ctx.fs_version,
            ctx.source_path.clone(),
            ctx.source_path.clone(),
            Overlay::UpperAddition,
            ctx.chunk_size,
            ctx.explicit_uidgid,
        )?;
        let mut tree = Tree::new(node);
        let tree_builder = FilesystemTreeBuilder::new();

        tree.children = timing_tracer!(
            { tree_builder.load_children(ctx, bootstrap_ctx, &mut tree.node) },
            "load_from_directory"
        )?;

        Ok(tree)
    }
/// Build node tree from a filesystem directory
Build node tree from a filesystem directory
Build node tree from a filesystem directory
fn build_tree_from_fs(
        &mut self,
        ctx: &mut BuildContext,
        bootstrap_ctx: &mut BootstrapContext,
    ) -> Result<Tree> {
        let node = Node::new(
            ctx.fs_version,
            ctx.source_path.clone(),
            ctx.source_path.clone(),
            Overlay::UpperAddition,
            ctx.chunk_size,
            ctx.explicit_uidgid,
        )?;
        let mut tree = Tree::new(node);
        let tree_builder = FilesystemTreeBuilder::new();
        tree.children = timing_tracer!(
            { tree_builder.load_children(ctx, bootstrap_ctx, &mut tree.node) },
            "load_from_directory"
        )?;
        Ok(tree)
    }
fn build_tree_from_fs ( & mut self , ctx : & mut BuildContext , bootstrap_ctx : & mut BootstrapContext , ) -> Result < Tree > { let node = Node :: new ( ctx . fs_version , ctx . source_path . clone ( ) , ctx . source_path . clone ( ) , Overlay :: UpperAddition , ctx . chunk_size , ctx . explicit_uidgid , ) ? ; let mut tree = Tree :: new ( node ) ; let tree_builder = FilesystemTreeBuilder :: new ( ) ; tree . children = timing_tracer ! ( { tree_builder load_children ( ctx bootstrap_ctx mut tree node ) } " " ) ? ; Ok ( tree ) }
Build node tree from a filesystem directory
Build node tree from a filesystem directory
&mut self
ctx
&mut BuildContext
bootstrap_ctx
&mut BootstrapContext
&mut self
ctx
&mut BuildContext
bootstrap_ctx
&mut BootstrapContext