projects
/
cumulus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fafef93
)
Include file size in the stat cache (but do not check against it yet).
author
Michael Vrable
<mvrable@cs.ucsd.edu>
Thu, 5 Jul 2007 18:20:21 +0000
(11:20 -0700)
committer
Michael Vrable
<mvrable@turin.ucsd.edu>
Thu, 5 Jul 2007 18:20:21 +0000
(11:20 -0700)
statcache.cc
patch
|
blob
|
history
diff --git
a/statcache.cc
b/statcache.cc
index
db07792
..
376c099
100644
(file)
--- 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:";