MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / sh_str_done

Function sh_str_done

src/pipeline/pass_shell.c:573–578  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

571}
572
573static const char *sh_str_done(sh_str_t *b) {
574 if (b->bad) {
575 return NULL;
576 }
577 return b->buf ? b->buf : "";
578}
579
580/* Text with backslash escapes removed; in_dq: only the double-quote ones. */
581static void sh_add_unescaped(CBMArena *a, sh_str_t *b, const char *p, size_t n, bool in_dq) {

Callers 6

sh_eval_expansionFunction · 0.85
sh_evalFunction · 0.85
sh_url_templateFunction · 0.85
sh_httpFunction · 0.85
sh_image_repoFunction · 0.85
mk_expandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected