diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-09-08 04:48:00 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-10-17 15:39:04 +0200 |
commit | 6e29f02e94022e141eced2e0cdcb5b85894317ad (patch) | |
tree | 11f5443acad6d3abb9d0aa9ff33bf4fbc1299a35 /lib/libalpm/db.c | |
parent | ae25167bcd592186749b79ea31b10fb78ed9fb2d (diff) | |
download | pacman-6e29f02e94022e141eced2e0cdcb5b85894317ad.tar.gz pacman-6e29f02e94022e141eced2e0cdcb5b85894317ad.tar.xz |
diskspace: add _alpm_check_downloadspace()
This function determines if the given cachedir has at least the given
amount of free space on it. This will be later used in the sync code to
preemptively halt downloads.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/db.c')
0 files changed, 0 insertions, 0 deletions