pub fn activate_package_variant(
variant_id: &str,
preview_only: bool,
) -> Result<Vec<PathBuf>>Expand description
Hot-switches variant with full safety + branching preview
Changes the active package variant, triggering file updates with traffic branch safety checks.
§Arguments
variant_id- ID of the variant to activatepreview_only- If true, shows preview without applying changes
§Returns
List of files that would be modified