pub fn get_remote_file_list(
name: &str,
source: &Source,
) -> Result<Vec<String>, String>Expand description
What: Fetch the list of files published in repositories for a given package.
Inputs:
name: Package name in question.source: Source descriptor differentiating official repositories from AUR packages.
Output:
- Returns the list of file paths or an error when retrieval fails.
ยงErrors
- Returns
Errwhenpacman -Flcommand execution fails for official packages - Returns
Errwhen file database is not synced and command fails
Details:
- Uses
pacman -Flfor official packages and currently returns an empty list for AUR entries.