X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=localdb.h;h=cebf0190025d3a3791914ddebf17770eaabe066f;hb=9f8f2a00b54a80d1563288bf11556cbc15a07c50;hp=eb0955deb3151810803f5ffdbe6bb232b3e8ad9d;hpb=6a181a1eb21ac5f9f4f742281b6de841dac9a3c8;p=cumulus.git diff --git a/localdb.h b/localdb.h index eb0955d..cebf019 100644 --- a/localdb.h +++ b/localdb.h @@ -26,6 +26,7 @@ public: void StoreObject(const ObjectReference& ref, const std::string &checksum, int64_t size); ObjectReference FindObject(const std::string &checksum, int64_t size); + bool IsOldObject(const std::string &checksum, int64_t size); void UseObject(const ObjectReference& ref); private: sqlite3 *db;