Skip to main content

plan_migration

Function plan_migration 

Source
pub fn plan_migration(
    analysis: MigrationAnalysis,
    answers: Vec<MigrationAnswer>,
    destination_folder: impl AsRef<Path>,
) -> Result<MigrationPlan>
Expand description

Turn a read-only analysis and founder answers into an explicit proposal.

The initial engine is deliberately conservative: generated and secret-shaped content is excluded, while canonical source content may be copied into a user-selected staging folder. Source bytes are never removed.