MCPcopy Create free account
hub / github.com/coreutils/coreutils / cmp_atime

Function cmp_atime

src/ls.c:3811–3818  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3809}
3810
3811static int
3812cmp_atime (struct fileinfo const *a, struct fileinfo const *b,
3813 int (*cmp) (char const *, char const *))
3814{
3815 int diff = timespec_cmp (get_stat_atime (&b->stat),
3816 get_stat_atime (&a->stat));
3817 return diff ? diff : cmp (a->name, b->name);
3818}
3819
3820static int
3821cmp_btime (struct fileinfo const *a, struct fileinfo const *b,

Callers

nothing calls this directly

Calls 1

cmpFunction · 0.85

Tested by

no test coverage detected