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

Function fileinfo_name_width

src/ls.c:3866–3872  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3864 for the NAME associated with the passed fileinfo F. */
3865
3866static size_t
3867fileinfo_name_width (struct fileinfo const *f)
3868{
3869 return f->width
3870 ? f->width
3871 : quote_name_width (f->name, filename_quoting_options, f->quoted);
3872}
3873
3874static int
3875cmp_width (struct fileinfo const *a, struct fileinfo const *b,

Callers 3

cmp_widthFunction · 0.85

Calls 1

quote_name_widthFunction · 0.85

Tested by

no test coverage detected