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

Function cmp_size

src/ls.c:3835–3841  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3833}
3834
3835static int
3836cmp_size (struct fileinfo const *a, struct fileinfo const *b,
3837 int (*cmp) (char const *, char const *))
3838{
3839 int diff = off_cmp (b->stat.st_size, a->stat.st_size);
3840 return diff ? diff : cmp (a->name, b->name);
3841}
3842
3843static int
3844cmp_name (struct fileinfo const *a, struct fileinfo const *b,

Callers

nothing calls this directly

Calls 2

off_cmpFunction · 0.85
cmpFunction · 0.85

Tested by

no test coverage detected