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

Function cmp_btime

src/ls.c:3820–3827  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3818}
3819
3820static int
3821cmp_btime (struct fileinfo const *a, struct fileinfo const *b,
3822 int (*cmp) (char const *, char const *))
3823{
3824 int diff = timespec_cmp (get_stat_btime (&b->stat),
3825 get_stat_btime (&a->stat));
3826 return diff ? diff : cmp (a->name, b->name);
3827}
3828
3829static int
3830off_cmp (off_t a, off_t b)

Callers

nothing calls this directly

Calls 2

get_stat_btimeFunction · 0.85
cmpFunction · 0.85

Tested by

no test coverage detected