MCPcopy Create free account
hub / github.com/git/git / show_name

Function show_name

grep.c:902–906  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

900}
901
902static void show_name(struct grep_opt *opt, const char *name)
903{
904 output_color(opt, name, strlen(name), opt->colors[GREP_COLOR_FILENAME]);
905 opt->output(opt, opt->null_following_name ? "\0" : "\n", 1);
906}
907
908static int patmatch(struct grep_pat *p,
909 const char *line, const char *eol,

Callers 1

grep_source_1Function · 0.70

Calls 1

output_colorFunction · 0.85

Tested by

no test coverage detected