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

Function cmp_name

src/ls.c:3843–3848  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3841}
3842
3843static int
3844cmp_name (struct fileinfo const *a, struct fileinfo const *b,
3845 int (*cmp) (char const *, char const *))
3846{
3847 return cmp (a->name, b->name);
3848}
3849
3850/* Compare file extensions. Files with no extension are 'smallest'.
3851 If extensions are the same, compare by file names instead. */

Callers

nothing calls this directly

Calls 1

cmpFunction · 0.85

Tested by

no test coverage detected