summaryrefslogtreecommitdiff
path: root/apt-pkg/indexrecords.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2010-05-29 12:04:51 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2010-05-29 12:04:51 +0200
commite1430400bf012ab7e29b00c78796a14ce9f97107 (patch)
tree67fbd7a72c808c8f46c7eb74ecc430d091db698e /apt-pkg/indexrecords.h
parent8fa7eefb8a320e8fa4a26c4718fa606d4d27a56f (diff)
* apt-pkg/indexrecords.{cc,h}:
- add a constant Exists check for MetaKeys * apt-pkg/acquire-item.cc: - do not try PDiff if it is not listed in the Meta file
Diffstat (limited to 'apt-pkg/indexrecords.h')
-rw-r--r--apt-pkg/indexrecords.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-pkg/indexrecords.h b/apt-pkg/indexrecords.h
index 468d2bd0f..2e3103b70 100644
--- a/apt-pkg/indexrecords.h
+++ b/apt-pkg/indexrecords.h
@@ -34,6 +34,8 @@ class indexRecords
// Lookup function
virtual const checkSum *Lookup(const string MetaKey);
+ /** \brief tests if a checksum for this file is available */
+ bool Exists(string const &MetaKey) const;
std::vector<std::string> MetaKeys();
virtual bool Load(string Filename);