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

Function is_blank_line

trailer.c:132–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132static inline int is_blank_line(const char *str)
133{
134 const char *s = str;
135 while (*s && *s != '\n' && isspace(*s))
136 s++;
137 return !*s || *s == '\n';
138}
139
140static inline void strbuf_replace(struct strbuf *sb, const char *a, const char *b)
141{

Callers 2

find_trailer_block_startFunction · 0.70
ends_with_blank_lineFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected