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

Function application_utc_now

src/daemon/application.c:690–697  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

688enum { APPLICATION_RECORD_ERROR_CAP = 512 };
689
690static void application_utc_now(char out[32]) {
691 time_t now = time(NULL);
692 struct tm parts;
693 out[0] = '\0';
694 if (cbm_gmtime_r(&now, &parts)) {
695 (void)strftime(out, 32, "%Y-%m-%dT%H:%M:%SZ", &parts);
696 }
697}
698
699static cbm_daemon_application_index_record_t *application_index_record_find_locked(
700 cbm_daemon_application_t *application, const char *project_key) {

Calls 1

cbm_gmtime_rFunction · 0.85

Tested by

no test coverage detected