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

Function build_no_store_error

src/mcp/mcp.c:2385–2388  ·  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

2383 * (clearer message); a non-NULL project that didn't resolve means it's
2384 * unknown/unindexed (list the available ones). */
2385static char *build_no_store_error(const char *project) {
2386 return project ? build_project_list_error("project not found or not indexed")
2387 : build_missing_project_error();
2388}
2389
2390/* Bail with the right error when no store is available. */
2391#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