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

Function find_client_locked

src/daemon/daemon.c:142–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142static cbm_daemon_client_t *find_client_locked(cbm_daemon_coordinator_t *coordinator,
143 cbm_daemon_client_id_t client_id) {
144 for (cbm_daemon_client_t *client = coordinator->clients; client; client = client->next) {
145 if (client->id == client_id) {
146 return client;
147 }
148 }
149 return NULL;
150}
151
152static cbm_daemon_job_t *find_job_locked(cbm_daemon_coordinator_t *coordinator,
153 const char *project_key) {

Callers 5

cbm_daemon_job_subscribeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected