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

Function add_git_context_string

src/mcp/mcp.c:2711–2718  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2709}
2710
2711static void add_git_context_string(yyjson_mut_doc *doc, yyjson_mut_val *obj, const char *key,
2712 const char *value) {
2713 if (value) {
2714 yyjson_mut_obj_add_strcpy(doc, obj, key, value);
2715 } else {
2716 yyjson_mut_obj_add_null(doc, obj, key);
2717 }
2718}
2719
2720static void add_git_context_json(yyjson_mut_doc *doc, yyjson_mut_val *obj, const char *root_path) {
2721 cbm_git_context_t ctx = {0};

Callers 1

add_git_context_jsonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected