summaryrefslogtreecommitdiff
path: root/src/hash.c
AgeCommit message (Collapse)AuthorFilesLines
2010-06-05all: rework how arrays workTimo Teräs1-2/+3
Instead of having a null pointer, use a dummy array which just says the array is empty. This helps in multiple places of the code which would otherwise need explicitly need to check first if the array exists. This has been cause of multiple seg.faults in the past as the array check is easily omitted. This also removes (or fixes) all existing checks accordingly.
2009-07-14hash: allow caching of hash valueTimo Teras1-13/+6
2009-01-17del: proper ordering of file db entry deletionTimo Teras1-3/+2
2009-01-16db, hash: fix package purging/upgrading to update filedb properlyTimo Teras1-0/+28
2009-01-14db: keep only filename in file entries, hash by both directory and fileTimo Teras1-8/+18
2009-01-06db, pkg: fix rest of memory leaksTimo Teras1-1/+1
2008-11-27hash, db: use apk_blob_t and list_*Timo Teras1-20/+4
2008-04-17Initial commit of some stuff written so far. Still in state of flux. ExpectTimo Teras1-0/+97
breakage and major changes.