pub fn sync_repo_pkgnames(repo: &str) -> Result<HashSet<String>, String>Expand description
What: Collect pkgname values from pacman -Sl <repo>.
Inputs:
repo: Lowercase[repo]name (e.g.chaotic-aur).
Output:
- Set of package names or error.
Details:
- Ignores header lines and malformed rows.
ยงErrors
- Returns an error when
pacmancannot be executed, exits non-zero, or the repo is unknown.