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

Function json_append_bool

src/git/git_context.c:365–369  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

363}
364
365static bool json_append_bool(char *buf, int buf_size, int *off, const char *name, bool value,
366 bool comma) {
367 return append_fmt_checked(buf, buf_size, off, "\"%s\":%s%s", name, value ? "true" : "false",
368 comma ? "," : "");
369}
370
371static bool json_append_string(char *buf, int buf_size, int *off, const char *name,
372 const char *value, bool comma) {

Callers 1

Calls 1

append_fmt_checkedFunction · 0.85

Tested by

no test coverage detected