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

Function application_record_attempt

src/daemon/application.c:1485–1496  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1483}
1484
1485static void application_record_attempt(const application_attempt_t *attempt,
1486 cbm_index_worker_result_t *last_result,
1487 bool *have_last_result,
1488 char last_log[APPLICATION_PATH_CAP]) {
1489 *last_result = attempt->result;
1490 last_result->response = NULL;
1491 *have_last_result = attempt->has_result;
1492 last_log[0] = '\0';
1493 if (attempt->log_path[0]) {
1494 (void)snprintf(last_log, APPLICATION_PATH_CAP, "%s", attempt->log_path);
1495 }
1496}
1497
1498static void application_record_cancelled(cbm_index_worker_result_t *last_result,
1499 bool *have_last_result,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected