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

Function json_append_bool

src/git/git_context.c:375–379  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

373}
374
375static bool json_append_bool(char *buf, int buf_size, int *off, const char *name, bool value,
376 bool comma) {
377 return append_fmt_checked(buf, buf_size, off, "\"%s\":%s%s", name, value ? "true" : "false",
378 comma ? "," : "");
379}
380
381static bool json_append_string(char *buf, int buf_size, int *off, const char *name,
382 const char *value, bool comma) {

Callers 1

Calls 1

append_fmt_checkedFunction · 0.85

Tested by

no test coverage detected