diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-01-14 21:27:48 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-01-19 04:56:50 +0100 |
commit | 4e60b9646d69227c6c9f226bf03a12158feaaee7 (patch) | |
tree | e8a896893e1ac798bfbd275fabb2acd9653a4455 /lib/libalpm/trans.c | |
parent | b426488e2b1cf4e464f7f56dbcf2629a3a73a54a (diff) | |
download | pacman-4e60b9646d69227c6c9f226bf03a12158feaaee7.tar.gz pacman-4e60b9646d69227c6c9f226bf03a12158feaaee7.tar.xz |
fetch_url: look for files in cache before downloading
We lost this logic somewhere between the libfetch and libcurl
transition, as it existed in the internal downloader, but was pulled
back only into the sync workflow. Add a helper function that will let us
check for existance in the filecache prior to calling the downloader.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/trans.c')
0 files changed, 0 insertions, 0 deletions