MCPcopy Create free account
hub / github.com/archlinux/alpm / download_packages

Method download_packages

dev-scripts/src/sync/aur.rs:41–45  ·  view source on GitHub ↗

Clone (or update) the AUR git repo and extract .SRCINFO + PKGBUILD for every package

(&self)

Source from the content-addressed store, hash-verified

39 /// Clone (or update) the AUR git repo and extract
40 /// .SRCINFO + PKGBUILD for every package
41 pub fn download_packages(&self) -> Result<(), Error> {
42 self.update_or_clone()?;
43 self.parallel_extract_files()?;
44 Ok(())
45 }
46
47 /// Ensure we have a bare clone of aur.git locally. Update if already present.
48 fn update_or_clone(&self) -> Result<(), Error> {

Callers 1

test_filesFunction · 0.45

Calls 2

update_or_cloneMethod · 0.80

Tested by 1

test_filesFunction · 0.36