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

Function skip_header

mailinfo.c:358–369  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

356};
357
358static inline int skip_header(const struct strbuf *line, const char *hdr,
359 const char **outval)
360{
361 const char *val;
362 if (!skip_iprefix(line->buf, hdr, &val) ||
363 *val++ != ':')
364 return 0;
365 while (isspace(*val))
366 val++;
367 *outval = val;
368 return 1;
369}
370
371static int is_format_patch_separator(const char *line, int len)
372{

Callers 2

parse_headerFunction · 0.85
is_inbody_headerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected