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

Function handle_content_transfer_encoding

mailinfo.c:285–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283}
284
285static void handle_content_transfer_encoding(struct mailinfo *mi,
286 const struct strbuf *line)
287{
288 if (strcasestr(line->buf, "base64"))
289 mi->transfer_encoding = TE_BASE64;
290 else if (strcasestr(line->buf, "quoted-printable"))
291 mi->transfer_encoding = TE_QP;
292 else
293 mi->transfer_encoding = TE_DONTCARE;
294}
295
296static int is_multipart_boundary(struct mailinfo *mi, const struct strbuf *line)
297{

Callers 1

check_headerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected