Skip to main content

setup_with_destinations_and_srcs

Function setup_with_destinations_and_srcs 

Source
pub fn setup_with_destinations_and_srcs(
    opts: &SetupOpts,
    dsts: &BTreeMap<String, PathBuf>,
    srcs: &BTreeMap<String, PathBuf>,
    prompter: &mut dyn Prompter,
    git: &dyn GitConfig,
) -> Result<SetupReport, SetupError>
Expand description

Full entry point with both destination and source paths.

srcs maps section name → template source path for generic_template sections. Other writers ignore srcs.