fetch_srcinfo_sync

Function fetch_srcinfo_sync 

Source
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 Err when network request fails (curl execution error)
  • Returns Err when .SRCINFO cannot be fetched from AUR

Details:

  • Downloads .SRCINFO from AUR cgit repository.