X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=localdb.h;fp=localdb.h;h=cebf0190025d3a3791914ddebf17770eaabe066f;hb=cac644d993d130efd8d29539de6557b18c9b737e;hp=eb0955deb3151810803f5ffdbe6bb232b3e8ad9d;hpb=6b00faf9826faa0013e8cccc55086724f37c44e5;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;