treewide: reduce includes of cache.h in other headers
[git.git] / statinfo.h
blobe49e3054eaaa54f9916ae2a01fa9a1ca987b339a
1 #ifndef STATINFO_H
2 #define STATINFO_H
4 /*
5 * The "cache_time" is just the low 32 bits of the
6 * time. It doesn't matter if it overflows - we only
7 * check it for equality in the 32 bits we save.
8 */
9 struct cache_time {
10 uint32_t sec;
11 uint32_t nsec;
14 struct stat_data {
15 struct cache_time sd_ctime;
16 struct cache_time sd_mtime;
17 unsigned int sd_dev;
18 unsigned int sd_ino;
19 unsigned int sd_uid;
20 unsigned int sd_gid;
21 unsigned int sd_size;
24 #endif