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

Function append_value

src/mcp/compact_out.c:206–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204}
205
206static void append_value(cbm_sb_t *sb, const char *s) {
207 if (!s || !*s) {
208 cbm_sb_append_n(sb, "-", 1); /* stable column positions for empties */
209 return;
210 }
211 if (needs_quotes(s)) {
212 append_quoted(sb, s);
213 } else {
214 cbm_sb_append(sb, s);
215 }
216}
217
218/* ── Scalars ────────────────────────────────────────────────────── */
219

Callers 2

cbm_tree_scalar_strFunction · 0.85
cbm_tree_cell_strFunction · 0.85

Calls 4

cbm_sb_append_nFunction · 0.85
needs_quotesFunction · 0.85
append_quotedFunction · 0.85
cbm_sb_appendFunction · 0.85

Tested by

no test coverage detected