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

Function find_client_locked

src/daemon/daemon.c:137–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137static cbm_daemon_client_t *find_client_locked(cbm_daemon_coordinator_t *coordinator,
138 cbm_daemon_client_id_t client_id) {
139 for (cbm_daemon_client_t *client = coordinator->clients; client; client = client->next) {
140 if (client->id == client_id) {
141 return client;
142 }
143 }
144 return NULL;
145}
146
147static cbm_daemon_job_t *find_job_locked(cbm_daemon_coordinator_t *coordinator,
148 const char *project_key) {

Callers 5

cbm_daemon_job_subscribeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected