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

Function add_git_context_string

src/mcp/mcp.c:1141–1148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1139}
1140
1141static void add_git_context_string(yyjson_mut_doc *doc, yyjson_mut_val *obj, const char *key,
1142 const char *value) {
1143 if (value) {
1144 yyjson_mut_obj_add_strcpy(doc, obj, key, value);
1145 } else {
1146 yyjson_mut_obj_add_null(doc, obj, key);
1147 }
1148}
1149
1150static void add_git_context_json(yyjson_mut_doc *doc, yyjson_mut_val *obj, const char *root_path) {
1151 cbm_git_context_t ctx = {0};

Callers 1

add_git_context_jsonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected