]> git.ipfire.org Git - thirdparty/git.git/blob - statinfo.h
path.h: move function declarations for path.c functions from cache.h
[thirdparty/git.git] / statinfo.h
1 #ifndef STATINFO_H
2 #define STATINFO_H
3
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;
12 };
13
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;
22 };
23
24 #endif