pacman/lib/libalpm
Dan McGee 5dae577a87 Get estimated package count when populating databases
This works for both local and sync databases in slightly different ways. For
the local database, we can use the directory hard link count on the local/
folder. For sync databases, we use the archive size coupled with some
computed average per-package sizes to determine an estimate.

This is currently a dead assignment once calculated, but could be used to
set the initial size of a hash table.

Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
2011-02-04 09:55:45 +10:00
..
po Merge branch 'maint' 2011-01-29 12:16:11 -06:00
.gitignore
Makefile.am Add a hash table for holding packages 2011-02-04 09:55:45 +10:00
add.c alpm: drop old target interfaces 2011-01-29 19:40:08 +01:00
add.h
alpm.c
alpm.h Add a hash table for holding packages 2011-02-04 09:55:45 +10:00
alpm_list.c
alpm_list.h
backup.c
backup.h
be_local.c Get estimated package count when populating databases 2011-02-04 09:55:45 +10:00
be_package.c Fix locale.h/setlocale inclusion with --disable-nls 2011-02-01 09:59:12 -06:00
be_sync.c Get estimated package count when populating databases 2011-02-04 09:55:45 +10:00
conflict.c
conflict.h
db.c
db.h
delta.c
delta.h
deps.c alpm/depcmp: new NODEPVERSION flag 2011-01-31 10:49:39 -06:00
deps.h alpm/depcmp: new NODEPVERSION flag 2011-01-31 10:49:39 -06:00
diskspace.c
diskspace.h
dload.c
dload.h
error.c
graph.h
group.c
group.h
handle.c
handle.h
log.c
log.h Update copyright years for 2011 2011-01-07 18:47:37 -06:00
md5.c
md5.h
package.c
package.h
pkghash.c Add a hash table for holding packages 2011-02-04 09:55:45 +10:00
pkghash.h Add a hash table for holding packages 2011-02-04 09:55:45 +10:00
remove.c alpm: drop old target interfaces 2011-01-29 19:40:08 +01:00
remove.h
sync.c alpm: drop old target interfaces 2011-01-29 19:40:08 +01:00
sync.h
trans.c
trans.h
util.c Fix locale.h/setlocale inclusion with --disable-nls 2011-02-01 09:59:12 -06:00
util.h
version.c