pub fn detect_enabled_repos_from(path: &Path) -> Vec<String>Expand description
What: Discover repositories enabled in a specific pacman configuration file.
Inputs:
path: Path to a pacman.conf-style file.
Output:
- Repository names in declaration order; the default list (core, extra, multilib) when the file cannot be read.
Details:
- Same parsing rules as
detect_enabled_repos; exists so callers and tests can target non-system configuration files.