Skip to main content

pkgbuild_check_response_matches_selection

Function pkgbuild_check_response_matches_selection 

Source
pub fn pkgbuild_check_response_matches_selection(
    app: &AppState,
    response_package: &str,
) -> bool
Expand description

What: Whether a crate::state::PkgbuildCheckResponse should update the UI for the current row.

Inputs:

  • app: Application state.
  • response_package: Package name carried in the worker response.

Output:

  • true if the response matches the focused or selected package (same rule as PKGBUILD fetch).

Details:

  • Prevents late results from repopulating the panel after the user moved to another package.