Function build_targeted_refresh_plan

Source
pub fn build_targeted_refresh_plan(
    targets: &[TargetId],
    enabled_targets: &[TargetId],
) -> Result<RefreshPlan, RefreshPlanError>
Expand description

Build a refresh plan for specific targets only.

§Arguments

  • targets - Specific targets to refresh
  • enabled_targets - All enabled targets (for validation)

§Returns

A refresh plan if all specified targets are valid.