Skip to main content

enable

Function enable 

Source
pub fn enable(
    paths: &Paths,
    targets: &[PathBuf],
    dry_run: bool,
    write_stub: bool,
) -> Result<EnableOutcome>
Expand description

Enable Plain Mode for the given target paths.

Each target is processed independently; failures on one target don’t abort the others (they get a Skipped* action in the outcome). The ledger is written only after every target has been processed and only when dry_run is false.

§Errors