summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-item.h
diff options
context:
space:
mode:
authorMichael Vogt <mvo@ubuntu.com>2014-10-02 00:38:35 +0200
committerMichael Vogt <mvo@ubuntu.com>2014-10-02 00:38:35 +0200
commit1e8ba0d4087f72a930a588ce5fbf0c22dddb9403 (patch)
tree568bbe01958679d7fdc6d02a4db1a368c5f8e122 /apt-pkg/acquire-item.h
parent651bddadd0558a3912833c7d51bb20625b318af9 (diff)
donkults fixes
Diffstat (limited to 'apt-pkg/acquire-item.h')
-rw-r--r--apt-pkg/acquire-item.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/apt-pkg/acquire-item.h b/apt-pkg/acquire-item.h
index 6518c9a98..5d5d6efb9 100644
--- a/apt-pkg/acquire-item.h
+++ b/apt-pkg/acquire-item.h
@@ -619,9 +619,10 @@ class pkgAcqBaseIndex : public pkgAcquire::Item
pkgAcqMetaBase *TransactionManager,
struct IndexTarget const * const Target,
HashStringList const &ExpectedHashes,
- indexRecords *MetaIndexParser)
+ indexRecords *MetaIndexParser,
+ std::string RealURI)
: Item(Owner, ExpectedHashes, TransactionManager), Target(Target),
- MetaIndexParser(MetaIndexParser) {};
+ MetaIndexParser(MetaIndexParser), RealURI(RealURI) {};
};
/*}}}*/
/** \brief An item that is responsible for fetching an index file of {{{
@@ -945,13 +946,18 @@ class pkgAcqIndex : public pkgAcqBaseIndex
HashStringList const &Hashes,
pkgAcquire::MethodConfig *Cfg);
+ /** \brief If \b set, this partially downloaded file will be
+ * removed when the download completes.
+ */
+ std::string EraseFileName;
+
/** \brief The compression-related file extensions that are being
* added to the downloaded file one by one if first fails (e.g., "gz bz2").
*/
std::string CompressionExtensions;
/** \brief The actual compression extension currently used */
- std::string ComprExt;
+ std::string CurrentCompressionExtension;
/** \brief Do the changes needed to fetch via AptByHash (if needed) */
void InitByHashIfNeeded(const std::string MetaKey);