+
+public:
+ DependencyCache(SourcePackage &p);
+
+ void set_deps(const std::string &tgt, const StringList &d);
+ bool has_deps(const std::string &tgt) const;
+ const StringList &get_deps(const std::string &tgt) const;
+ const Msp::Time::TimeStamp &get_mtime() const { return mtime; }
+ void load();
+
+ /** Saves the depencency cache. Does nothing if the cache is empty or
+ nothing has changed. */
+ void save() const;