execute_removal_with_conn

Function execute_removal_with_conn 

Source
fn execute_removal_with_conn(
    plan: &RemovalPlan,
    force: bool,
    shims_root: &Path,
    conn: &DbConnection,
) -> Result<()>
Expand description

Execute a removal plan with a caller-provided database connection.

This function enforces the removal policy, selects the correct engine kind, and applies the engine-specific cleanup path. When force is false, the presence of dependent packages blocks removal before any mutation happens.