Skip to main content

clear_stale_pkgbuild_checks_for_selection

Function clear_stale_pkgbuild_checks_for_selection 

Source
pub fn clear_stale_pkgbuild_checks_for_selection(
    app: &mut AppState,
    selected_package: &str,
)
Expand description

What: Drop PKGBUILD check results when they belong to a different package than the current selection.

Inputs:

  • app: Application state holding check status and findings.
  • selected_package: Name of the package now highlighted in the results list.

Output:

  • Mutates app to idle check state with empty findings when the last check target does not match.

Details: