Differentiate between never-before-seen objects and seen-but-expired.
[cumulus.git] / localdb.h
index eb0955d..cebf019 100644 (file)
--- 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;