1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-23 16:28:50 -05:00
pacman/src/util
Dan McGee 219808714f Add 'full' parameter to alpm_pkg_load
In most cases, we want to fully scan a package when we load it, which serves
as a integrity verification check. However, there are times when it is only
desired to read the metadata and nothing else, so allow the caller of pkg_load
to choose the behavior they need.

This pays big dividends in speeding up pacman cache cleaning functionality.
Old (729 packages):
real    1m43.717s
user    1m20.785s
sys     0m2.993s
New (729 packages):
real    0m25.607s
user    0m19.389s
sys     0m0.543s

Signed-off-by: Dan McGee <dan@archlinux.org>
2007-09-28 00:16:43 -05:00
..
.gitignore Add testdb util for finding inconsistencies in the database. 2007-09-11 21:11:42 -05:00
Makefile.am Remove the DB consistency check from pacman and libalpm. 2007-09-16 20:10:18 -05:00
testdb.c Remove the DB consistency check from pacman and libalpm. 2007-09-16 20:10:18 -05:00
testpkg.c Add 'full' parameter to alpm_pkg_load 2007-09-28 00:16:43 -05:00
vercmp.c src/util: Clean up headers and a few fixes 2007-08-15 20:16:46 -04:00