pub fn read_main_pacman_conf_text(path: &Path) -> Result<String, String>Expand description
What: Read main pacman.conf for planning (production convenience).
Inputs:
path: UsuallyDEFAULT_MAIN_PACMAN_PATH.
Output:
- File text or an IO error message.
Details:
- Callers may inject fixture text in tests instead.
ยงErrors
- When
pathcannot be read (permission, missing file, I/O error); message includes the path.