summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/sha2.h
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-09-07 22:01:43 +0200
committerDan McGee <dan@archlinux.org>2011-09-12 02:09:04 +0200
commitd8eacae7bc1465b725e6b1c3b7ad8c27c52437f4 (patch)
tree48ae4bfe0603802c0f298f4da01cd108b090b668 /lib/libalpm/sha2.h
parentbefddfc3e6a1f61b0bb2b6c377f3a394a7620b81 (diff)
downloadpacman-d8eacae7bc1465b725e6b1c3b7ad8c27c52437f4.tar.gz
pacman-d8eacae7bc1465b725e6b1c3b7ad8c27c52437f4.tar.xz
make compute_download_size consider .part files
Check for the existance of a partial download of a package file before jumping to delta calculations. Currently, if there were 10MiB remaining in a 100MiB the values passed to the front end do not reflect this. Refactored from an old patch originally by Dan. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/sha2.h')
0 files changed, 0 insertions, 0 deletions