summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-item.h
diff options
context:
space:
mode:
authorMichael Vogt <mvo@ubuntu.com>2014-05-22 17:47:22 +0200
committerMichael Vogt <mvo@ubuntu.com>2014-05-22 17:47:22 +0200
commit59194959326dbf114a5c894e4279c04844b4a793 (patch)
tree5e463f54a7f210f2b487994b5a57c5caadef744b /apt-pkg/acquire-item.h
parenta2fdb57ff93c1b1f35b796c3c99878ec3ae54a06 (diff)
move ByHash into its own function
Diffstat (limited to 'apt-pkg/acquire-item.h')
-rw-r--r--apt-pkg/acquire-item.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/apt-pkg/acquire-item.h b/apt-pkg/acquire-item.h
index 3d863874c..cda92e84f 100644
--- a/apt-pkg/acquire-item.h
+++ b/apt-pkg/acquire-item.h
@@ -713,6 +713,9 @@ class pkgAcqIndex : public pkgAcqBaseIndex
*/
std::string CompressionExtension;
+ /** \brief Do the changes needed to fetch via AptByHash (if needed) */
+ void InitByHashIfNeeded(const std::string MetaKey);
+
public:
// Specialized action members