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

Function ui_log_add_int

src/ui/http_server.c:873–877  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

871}
872
873static void ui_log_add_int(ui_log_scratch_t *s, int *pos, const char *key, yyjson_val *v) {
874 if (!v || !yyjson_is_num(v))
875 return;
876 http_appendf(s->line, sizeof(s->line), pos, ",\"%s\":%lld", key, (long long)yyjson_get_sint(v));
877}
878
879static void ui_log_utc_now(char *out, size_t outsz) {
880 time_t now = time(NULL);

Callers 1

handle_ui_log_postFunction · 0.85

Calls 1

http_appendfFunction · 0.85

Tested by

no test coverage detected