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

Function application_record_attempt

src/daemon/application.c:1167–1178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1165}
1166
1167static void application_record_attempt(const application_attempt_t *attempt,
1168 cbm_index_worker_result_t *last_result,
1169 bool *have_last_result,
1170 char last_log[APPLICATION_PATH_CAP]) {
1171 *last_result = attempt->result;
1172 last_result->response = NULL;
1173 *have_last_result = attempt->has_result;
1174 last_log[0] = '\0';
1175 if (attempt->log_path[0]) {
1176 (void)snprintf(last_log, APPLICATION_PATH_CAP, "%s", attempt->log_path);
1177 }
1178}
1179
1180static void application_record_cancelled(cbm_index_worker_result_t *last_result,
1181 bool *have_last_result,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected