Skip to main content

analyze_foreign_repo_overlap

Function analyze_foreign_repo_overlap 

Source
pub fn analyze_foreign_repo_overlap(
    repo: &str,
) -> Result<ForeignRepoOverlapAnalysis, String>
Expand description

What: Compare foreign installs to pacman -Sl <repo> with counts for UI diagnostics.

Inputs:

  • repo: Pacman repository name (same as pacman -Sl argument; usually lowercase).

Output:

Details:

  • Read-only; does not mutate the system.

ยงErrors

  • Propagates failures from list_foreign_packages or [sync_repo_pkgnames_or_empty_if_repo_missing] when pacman -Sl fails for reasons other than an unknown/missing repository.