MCPcopy Index your code
hub / github.com/RsyncProject/rsync / mtime_differs

Function mtime_differs

generator.c:396–403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

394}
395
396static inline int mtime_differs(STRUCT_STAT *stp, struct file_struct *file)
397{
398#ifdef ST_MTIME_NSEC
399 return !same_time(stp->st_mtime, stp->ST_MTIME_NSEC, file->modtime, F_MOD_NSEC_or_0(file));
400#else
401 return !same_time(stp->st_mtime, 0, file->modtime, 0);
402#endif
403}
404
405static inline int any_time_differs(stat_x *sxp, struct file_struct *file, UNUSED(const char *fname))
406{

Callers 4

any_time_differsFunction · 0.85
itemizeFunction · 0.85
quick_check_okFunction · 0.85
touch_up_dirsFunction · 0.85

Calls 1

same_timeFunction · 0.85

Tested by

no test coverage detected