MCPcopy Create free account
hub / github.com/git/git / stat_data_to_disk

Function stat_data_to_disk

dir.c:3601–3612  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3599};
3600
3601static void stat_data_to_disk(struct stat_data *to, const struct stat_data *from)
3602{
3603 to->sd_ctime.sec = htonl(from->sd_ctime.sec);
3604 to->sd_ctime.nsec = htonl(from->sd_ctime.nsec);
3605 to->sd_mtime.sec = htonl(from->sd_mtime.sec);
3606 to->sd_mtime.nsec = htonl(from->sd_mtime.nsec);
3607 to->sd_dev = htonl(from->sd_dev);
3608 to->sd_ino = htonl(from->sd_ino);
3609 to->sd_uid = htonl(from->sd_uid);
3610 to->sd_gid = htonl(from->sd_gid);
3611 to->sd_size = htonl(from->sd_size);
3612}
3613
3614static void write_one_dir(struct untracked_cache_dir *untracked,
3615 struct write_data *wd)

Callers 2

write_one_dirFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected