Skip to main content

plan

Function plan 

Source
pub fn plan(
    tree: &Tree,
    parent: Option<&str>,
    new_id: impl FnMut() -> String,
) -> Plan
Expand 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.