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

Function mcp_capture_log

tests/test_mcp.c:84–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82static bool mcp_saw_autoindex_log;
83
84static void mcp_capture_log(const char *line) {
85 snprintf(mcp_log_buf, sizeof(mcp_log_buf), "%s", line ? line : "");
86 if (line && strstr(line, "msg=autoindex.")) {
87 mcp_saw_autoindex_log = true;
88 }
89}
90
91static bool response_contains_json_fragment(const char *response, const char *fragment) {
92 if (!response || !fragment) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected