| 82 | static bool mcp_saw_autoindex_log; |
| 83 | |
| 84 | static 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 | |
| 91 | static bool response_contains_json_fragment(const char *response, const char *fragment) { |
| 92 | if (!response || !fragment) { |
nothing calls this directly
no outgoing calls
no test coverage detected