lbs-util: Add a command for dumping a flattened metadata log file.
[cumulus.git] / statcache.h
index 8b13b7e..6e4af2c 100644 (file)
@@ -35,7 +35,8 @@
 
 class StatCache {
 public:
-    void Open(const char *path, const char *snapshot_name);
+    void Open(const char *path, const char *snapshot_name,
+              const char *snapshot_scheme);
     void Close();
     bool Find(const std::string &path, const struct stat *stat_buf);
     void Save(const std::string &path, struct stat *stat_buf,
@@ -55,7 +56,8 @@ private:
 
     /* Information about one file read from the old cache. */
     bool end_of_cache;
-    int64_t old_mtime, old_ctime, old_inode;
+    bool old_is_validated;
+    int64_t old_mtime, old_ctime, old_inode, old_size;
     std::string old_name, old_checksum;
     std::list<ObjectReference> old_contents;
 };