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

Function build_no_store_error

src/mcp/mcp.c:1210–1213  ·  view source on GitHub ↗

Pick the right no-store error: a NULL project means the argument was missing * (clearer message); a non-NULL project that didn't resolve means it's * unknown/unindexed (list the available ones). */

Source from the content-addressed store, hash-verified

1208 * (clearer message); a non-NULL project that didn't resolve means it's
1209 * unknown/unindexed (list the available ones). */
1210static char *build_no_store_error(const char *project) {
1211 return project ? build_project_list_error("project not found or not indexed")
1212 : build_missing_project_error();
1213}
1214
1215/* Bail with the right error when no store is available. */
1216#define REQUIRE_STORE(store, project) \

Callers 2

handle_detect_changesFunction · 0.85
handle_manage_adrFunction · 0.85

Calls 2

build_project_list_errorFunction · 0.85

Tested by

no test coverage detected