pub fn request_enrich_for(
persist_path: PathBuf,
notify_tx: UnboundedSender<()>,
names: Vec<String>,
)Expand description
What: Request enrichment (pacman -Si) for a set of package names in the background,
merge fields into the index, persist, and notify.
Inputs:
persist_path: Path to write the updated index JSONnotify_tx: Channel to notify the UI after enrichment/persistnames: Package names to enrich
Output:
- Spawns a task that enriches and persists the index; sends a unit notification on completion.
Details:
- Only non-empty results are applied; fields prefer non-empty values from
-Sioutput and leave existing values untouched when omitted.