]> git.tdb.fi Git - builder.git/blobdiff - source/dependencycache.h
Add a method to query the existence of dependencies in cache
[builder.git] / source / dependencycache.h
index 4143195e66daf69ac5952990ec2d6b9668de9747..a4727aa92160d00e8d1f256bb9b6d4fb8d04b276 100644 (file)
@@ -23,7 +23,9 @@ private:
 
 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();