pub fn get_installed_file_list(name: &str) -> Result<Vec<String>, String>Expand description
What: Retrieve the list of files currently installed for a package.
Inputs:
name: Package name queried viapacman -Ql.
Output:
- Returns file paths owned by the package or an empty list when it is not installed.
ยงErrors
- Returns
Errwhenpacman -Qlcommand execution fails (I/O error) - Returns
Errwhenpacman -Qlexits with non-zero status for reasons other than package not found
Details:
- Logs errors if the command fails for reasons other than the package being absent.