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:189–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187}
188
189static void main_local_maintenance_server_bind(main_local_maintenance_context_t *context,
190 cbm_mcp_server_t *server) {
191 if (!context) {
192 return;
193 }
194 cbm_mutex_lock(&context->mutex);
195 context->server = server;
196 cbm_mutex_unlock(&context->mutex);
197}
198
199static bool main_local_command_cancel(void *opaque) {
200 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