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

Function ends_with_blank_line

trailer.c:981–987  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

979}
980
981static int ends_with_blank_line(const char *buf, size_t len)
982{
983 ssize_t ll = last_line(buf, len);
984 if (ll < 0)
985 return 0;
986 return is_blank_line(buf + ll);
987}
988
989static void unfold_value(struct strbuf *val)
990{

Callers 1

trailer_block_getFunction · 0.85

Calls 2

last_lineFunction · 0.85
is_blank_lineFunction · 0.70

Tested by

no test coverage detected