From 8c77f7c39bcd4ef747ac4167d431d48bd95a4322 Mon Sep 17 00:00:00 2001 From: Michael Vrable Date: Thu, 5 Jul 2007 11:20:21 -0700 Subject: [PATCH] Include file size in the stat cache (but do not check against it yet). --- statcache.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/statcache.cc b/statcache.cc index db07792..376c099 100644 --- a/statcache.cc +++ b/statcache.cc @@ -254,6 +254,7 @@ void StatCache::Save(const string &path, struct stat *stat_buf, *newcache << "mtime: " << encode_int(stat_buf->st_mtime) << "\n" << "ctime: " << encode_int(stat_buf->st_ctime) << "\n" << "inode: " << encode_int(stat_buf->st_ino) << "\n" + << "size: " << encode_int(stat_buf->st_size) << "\n" << "checksum: " << checksum << "\n"; *newcache << "blocks:"; -- 2.20.1