commit - fca9db8227f5956a42906c3c0d8cb6163a5cf814
commit + 2e8aa2402ee81767f9a2e99ac7f47494806adb61
blob - a43599e9f8a8486e08f58bf6c33dd51169b5b012
blob + 67b91d863861d1f4719ff8b4ad689e8b489e74ca
--- lib/got_fileindex_priv.h
+++ lib/got_fileindex_priv.h
* order to detect modifications made to on-disk files, they are never
* applied back to the filesystem.
*/
-struct got_file_index_entry {
- TAILQ_ENTRY(, got_file_index_entry) entry;
+struct got_fileindex_entry {
+ TAILQ_ENTRY(, got_fileindex_entry) entry;
uint64_t ctime_sec;
uint64_t ctime_nsec;
uint64_t mtime_sec;
#define GOT_INDEX_ENTRY_STAGE_THEIRS 3
/* On-disk file index header structure. */
-struct got_file_index_hdr {
+struct got_fileindex_hdr {
uint32_t signature; /* big-endian on disk */
uint32_t version; /* big-endian on disk */
uint32_t nentries; /* big-endian on disk */
- TAILQ_HEAD(, got_file_index_entry) entries;
+ TAILQ_HEAD(, got_fileindex_entry) entries;
uint8_t sha1[SHA1_DIGEST_LENGTH]; /* checksum of above on-disk data */
};