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

Function color_fprintf

color.c:477–485  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

475}
476
477int color_fprintf(FILE *fp, const char *color, const char *fmt, ...)
478{
479 va_list args;
480 int r;
481 va_start(args, fmt);
482 r = color_vfprintf(fp, color, fmt, args, NULL);
483 va_end(args);
484 return r;
485}
486
487int color_fprintf_ln(FILE *fp, const char *color, const char *fmt, ...)
488{

Callers 7

wt_shortstatus_unmergedFunction · 0.85
wt_shortstatus_statusFunction · 0.85
wt_shortstatus_otherFunction · 0.85
list_and_chooseFunction · 0.85
prompt_yesnoFunction · 0.85
patch_update_fileFunction · 0.85

Calls 1

color_vfprintfFunction · 0.85

Tested by

no test coverage detected