walk_path

Function walk_path 

Source
pub fn walk_path(
    path: impl AsRef<Path>,
) -> Result<(Vec<(Rc<PathBuf>, Option<usize>)>, HashMap<Rc<PathBuf>, UnixFs>), CarError>
Expand description

walk all directory, and record the directory informations. WalkPath contain the index in children.