- virtual const checkSum *Lookup(const string MetaKey);
-
- virtual bool Load(string Filename);
- string GetDist() const;
- virtual bool CheckDist(const string MaybeDist) const;
- string GetExpectedDist() const;
+ virtual const checkSum *Lookup(const std::string MetaKey);
+ /** \brief tests if a checksum for this file is available */
+ bool Exists(std::string const &MetaKey) const;
+ std::vector<std::string> MetaKeys();
+
+ virtual bool Load(std::string Filename);
+ std::string GetDist() const;
+ std::string GetSuite() const;
+ time_t GetValidUntil() const;
+ virtual bool CheckDist(const std::string MaybeDist) const;
+ std::string GetExpectedDist() const;