summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/deblistparser.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-01-08 15:30:05 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2016-01-08 15:40:01 +0100
commit4e6219da0dd1e68fad7db972f7ddd76598645228 (patch)
tree6a2914e6d426069038dd4407abdedd8faacc7ba1 /apt-pkg/deb/deblistparser.cc
parent896f0ae857b693782658145e16e21a3054dd5280 (diff)
use filesize of compressed pdiffs for the limit if possible
With the addition of the $HASH-Download field in the .diff/Index we got the size of the compressed patches for 'free', so if that information is available we can use it for a more fitting calculation of the size requirements of the patches vs. the complete file. Note that this predicts a too small size in the transition case in which the information isn't available for all patches, but figuring this out would be a lot of code for practically nothing as only one update can ever be in such a transition phase.
Diffstat (limited to 'apt-pkg/deb/deblistparser.cc')
0 files changed, 0 insertions, 0 deletions