pub fn compute_foreign_repo_overlap(
repo: &str,
) -> Result<Vec<ForeignRepoOverlapEntry>, String>Expand description
What: Foreign packages installed whose pkgname exists in repo’s sync DB.
Inputs:
repo: Pacman repository name (same aspacman -Slargument).
Output:
- Sorted overlap entries for stable UI.
Details:
- Read-only; does not mutate the system.
§Errors
- Propagates failures from
list_foreign_packagesor [sync_repo_pkgnames_or_empty_if_repo_missing].