Skip to main content

run

Function run 

Source
pub fn run(
    source: &Path,
    destination: &Path,
    journal_path: &Path,
    dry_run: bool,
) -> Result<RunOutcome, HomeMigrationError>
Expand description

Execute (or dry-run) the migration.

All paths are injected so the engine is testable without touching the real $HOME. Safe to re-run at any point: the copy step is idempotent per file and a failed verify leaves the journal in_progress for repair.