]> git.ipfire.org Git - thirdparty/git.git/blame - statinfo.h
read-cache: move shared add/checkout/commit code
[thirdparty/git.git] / statinfo.h
CommitLineData
ac48adf4
EN
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 */
9struct cache_time {
10 uint32_t sec;
11 uint32_t nsec;
12};
13
14struct 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