diff options
author | Michael Vogt <mvo@ubuntu.com> | 2014-04-16 14:43:08 +0200 |
---|---|---|
committer | Michael Vogt <mvo@ubuntu.com> | 2014-04-16 14:43:08 +0200 |
commit | d0cfa8adbdd74ad7e363019739c77e713dc982e5 (patch) | |
tree | cb27f24f5af0b2d600aa9fbfa4d8048fe12947ae /apt-pkg/acquire-item.h | |
parent | 5572f6bdcb947e11f32e2a035438d9d3899ad46d (diff) |
make the TotalFiles more reliable in apt-get update
Diffstat (limited to 'apt-pkg/acquire-item.h')
-rw-r--r-- | apt-pkg/acquire-item.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apt-pkg/acquire-item.h b/apt-pkg/acquire-item.h index f48d2a0d7..c12d8d63a 100644 --- a/apt-pkg/acquire-item.h +++ b/apt-pkg/acquire-item.h @@ -166,6 +166,16 @@ class pkgAcquire::Item : public WeakPointable * \sa pkgAcquire */ unsigned int QueueCounter; + + /** \brief The number of additional fetch items that are expected + * once this item is done. + * + * Some items like pkgAcqMeta{Index,Sig} will queue additional + * items. This variable can be set by the methods if it knows + * in advance how many items to expect to get a more accurate + * progress. + */ + unsigned int ExpectedAdditionalItems; /** \brief The name of the file into which the retrieved object * will be written. |