Skip to main content

read_main_pacman_conf_text

Function read_main_pacman_conf_text 

Source
pub fn read_main_pacman_conf_text(path: &Path) -> Result<String, String>
Expand description

What: Read main pacman.conf for planning (production convenience).

Inputs:

Output:

  • File text or an IO error message.

Details:

  • Callers may inject fixture text in tests instead.

ยงErrors

  • When path cannot be read (permission, missing file, I/O error); message includes the path.