From: Michael Vrable Date: Thu, 5 Jul 2007 18:20:21 +0000 (-0700) Subject: Include file size in the stat cache (but do not check against it yet). X-Git-Url: https://git.vrable.net/?a=commitdiff_plain;h=8c77f7c39bcd4ef747ac4167d431d48bd95a4322;p=cumulus.git Include file size in the stat cache (but do not check against it yet). --- 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:";