summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/sync.c
diff options
context:
space:
mode:
authorAnatol Pomozov <anatol.pomozov@gmail.com>2020-04-19 11:12:01 +0200
committerAllan McRae <allan@archlinux.org>2020-06-26 07:59:08 +0200
commit16d98d657748fdbf32ab24db56d3cd4a23447673 (patch)
treeee8398b06af9c96afa68fd8d6ac3aeb6d712c6f6 /lib/libalpm/sync.c
parent59e751f72d09390067045168ac45a09a89419389 (diff)
downloadpacman-16d98d657748fdbf32ab24db56d3cd4a23447673.tar.gz
pacman-16d98d657748fdbf32ab24db56d3cd4a23447673.tar.xz
Convert '-U pkg1 pkg2' codepath to parallel download
Installing remote packages using its URL is an interesting case for ALPM API. Unlike package sync ('pacman -S pkg1 pkg2') '-U' does not deal with server mirror list. Thus _alpm_multi_download() should be able to handle file download for payloads that either have 'fileurl' field or pair of fields ('servers' and 'filepath') set. Signature for alpm_fetch_pkgurl() has changed and it accepts an output list that is populated with filepaths to fetched packages. Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
Diffstat (limited to 'lib/libalpm/sync.c')
0 files changed, 0 insertions, 0 deletions