MCPcopy Create free account
hub / github.com/antirez/ds4 / worker_progress_cb

Function worker_progress_cb

ds4_agent.c:3504–3520  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3502 renderer_markdown_feed(r, c);
3503 return;
3504 }
3505 }
3506 if (c == '\n' || r->md_inline_len == sizeof(r->md_inline)) {
3507 renderer_markdown_inline_flush(r, false);
3508 renderer_markdown_feed(r, c);
3509 return;
3510 }
3511 r->md_inline[r->md_inline_len++] = c;
3512 return;
3513 }
3514 if (r->md_escape) {
3515 r->md_escape = false;
3516 if (ispunct((unsigned char)c)) { renderer_write_char_raw(r, c); return; }
3517 renderer_write_char_raw(r, '\\');
3518 }
3519 if (c == '\\') { r->md_escape = true; return; }
3520 if (c == '*' || c == '`') {
3521 r->md_inline[0] = c;
3522 r->md_inline_len = 1;
3523 return;

Callers

nothing calls this directly

Calls 3

agent_wake_lockedFunction · 0.85
now_secFunction · 0.70

Tested by

no test coverage detected