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

Function find_boundary

mailinfo.c:941–948  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

939}
940
941static int find_boundary(struct mailinfo *mi, struct strbuf *line)
942{
943 while (!strbuf_getline_lf(line, mi->input)) {
944 if (*(mi->content_top) && is_multipart_boundary(mi, line))
945 return 1;
946 }
947 return 0;
948}
949
950static int handle_boundary(struct mailinfo *mi, struct strbuf *line)
951{

Callers 2

handle_boundaryFunction · 0.70
handle_bodyFunction · 0.70

Calls 2

strbuf_getline_lfFunction · 0.85
is_multipart_boundaryFunction · 0.70

Tested by

no test coverage detected