MCPcopy Index your code
hub / github.com/git/git / imap_exec_m

Function imap_exec_m

imap-send.c:603–621  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

601}
602
603__attribute__((format (printf, 3, 4)))
604static int imap_exec_m(struct imap_store *ctx, struct imap_cmd_cb *cb,
605 const char *fmt, ...)
606{
607 va_list ap;
608 struct imap_cmd *cmdp;
609
610 va_start(ap, fmt);
611 cmdp = issue_imap_cmd(ctx, cb, fmt, ap);
612 va_end(ap);
613 if (!cmdp)
614 return DRV_STORE_BAD;
615
616 switch (get_cmd_result(ctx, cmdp)) {
617 case RESP_BAD: return DRV_STORE_BAD;
618 case RESP_NO: return DRV_MSG_BAD;
619 default: return DRV_OK;
620 }
621}
622
623static int skip_imap_list_l(char **sp, int level)
624{

Callers 1

imap_store_msgFunction · 0.85

Calls 2

issue_imap_cmdFunction · 0.85
get_cmd_resultFunction · 0.85

Tested by

no test coverage detected