pub fn fetch_srcinfo_sync(name: &str) -> Result<String, String>Expand description
What: Fetch .SRCINFO content synchronously (blocking).
Inputs:
name: AUR package name.
Output:
- Returns .SRCINFO content as a string, or an error if fetch fails.
ยงErrors
- Returns
Errwhen network request fails (curl execution error) - Returns
Errwhen .SRCINFO cannot be fetched from AUR
Details:
- Downloads .SRCINFO from AUR cgit repository.