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

Function main_local_maintenance_server_bind

src/main.c:143–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143static void main_local_maintenance_server_bind(main_local_maintenance_context_t *context,
144 cbm_mcp_server_t *server) {
145 if (!context) {
146 return;
147 }
148 cbm_mutex_lock(&context->mutex);
149 context->server = server;
150 cbm_mutex_unlock(&context->mutex);
151}
152
153static bool main_local_command_cancel(void *opaque) {
154 main_local_maintenance_context_t *context = opaque;

Callers 1

run_cliFunction · 0.85

Calls 2

cbm_mutex_lockFunction · 0.85
cbm_mutex_unlockFunction · 0.85

Tested by

no test coverage detected