repo.or.cz
/
git.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
init-db, clone: change unnecessary global into passed parameter
[git.git]
/
statinfo.h
blob
e49e3054eaaa54f9916ae2a01fa9a1ca987b339a
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