]> git.saurik.com Git - apt.git/commit - apt-pkg/acquire-item.cc
support compression and by-hash for .diff/Index files
authorDavid Kalnischkies <david@kalnischkies.de>
Tue, 16 Aug 2016 05:47:44 +0000 (07:47 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Wed, 17 Aug 2016 05:55:46 +0000 (07:55 +0200)
commit77e274f5ad23d79294f28ecc9868fc6f534214a4
tree508ee0bdc4c43fd7bf9d86f1f31e0a864fc5ea98
parenta99bb943e97883af6f063af9eb14e20b7a7320fc
support compression and by-hash for .diff/Index files

In af81ab9030229b4ce6cbe28f0f0831d4896fda01 by-hash got implemented as a
special compression type for our usual index files like Packages.
Missing in this scheme was the special .diff/Index index file containing
the info about individual patches for this index file. Deriving from the
index file class directly we inherent the compression handling
infrastructure and in this way also by-hash nearly for free.

Closes: #824926
apt-pkg/acquire-item.cc
apt-pkg/acquire-item.h
ftparchive/writer.cc
test/integration/test-pdiff-usage