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

Function is_multipart_boundary

mailinfo.c:296–302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294}
295
296static int is_multipart_boundary(struct mailinfo *mi, const struct strbuf *line)
297{
298 struct strbuf *content_top = *(mi->content_top);
299
300 return ((content_top->len <= line->len) &&
301 !memcmp(line->buf, content_top->buf, content_top->len));
302}
303
304static void cleanup_subject(struct mailinfo *mi, struct strbuf *subject)
305{

Callers 2

find_boundaryFunction · 0.70
handle_bodyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected