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,
/* 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;
};