pub fn plan(
tree: &Tree,
parent: Option<&str>,
new_id: impl FnMut() -> String,
) -> PlanExpand description
Maps a walked tree to the folders to create and the file imports, with
the top folder placed in parent (or at the top level). new_id gives
each folder its id.