]> git.saurik.com Git - apt.git/commit
Reinstate caching of file hashes in apt-ftparchive
authorDominic Benson <dominic@dgeb.net>
Mon, 20 Jun 2016 12:47:46 +0000 (13:47 +0100)
committerJulian Andres Klode <jak@debian.org>
Mon, 20 Jun 2016 15:35:58 +0000 (17:35 +0200)
commit91524387211bdec794f280c78d4f44cb8deba35e
treefadc41a7e4dec84cf1d308f1340eed257fd881da
parent7fb6227f5239e44ed2e7dfc8dd6f6fc801fba146
Reinstate caching of file hashes in apt-ftparchive

Check for cached hash entries to determine which (if any) hash types
need to be generated for the current file.
In 1.0.9, each hash type was handled by a separate method, each of
which checked the cache. It looks like when these code paths were
unified (in a311fb96b84757ef8628e6a754232614a53b7891) the cache
checks were not incorporated into the new method.

(cherry picked from commit 51018e947ab1df3ddba5d7a84ed2284d599d8a12)

Pull request Debian/apt#16

Closes: #806924
ftparchive/cachedb.cc