Skip to main content

run

Function run 

Source
pub fn run(
    root: &Path,
    edits: &[Edit],
    dry_run: bool,
) -> Result<Report, EditError>
Expand description

Apply edits under root. With dry_run, plan and report only.

Edits to one file apply in order; different files are planned in parallel. Nothing is written unless every edit resolved and no edited file parses worse than it did before.