pub fn build_dynamic_visibility(
toggles: &HashMap<String, bool>,
repo_name_to_filter: &HashMap<String, String>,
) -> HashMap<String, bool>Expand description
What: Merge per-filter toggles from settings.conf with defaults for all ids from repos.
Inputs:
toggles: Parsedresults_filter_show_*entries (canonical key → bool).repo_name_to_filter: Lowercase pacman repo name → canonical filter key.
Output:
- Canonical filter key → visible in results.
Details:
- Default is
truewhen a key is absent fromtoggles.