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

Function cbm_ui_config_path

src/ui/config.c:23–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21/* ── Path ────────────────────────────────────────────────────── */
22
23void cbm_ui_config_path(char *buf, int bufsz) {
24 const char *dir = cbm_resolve_cache_dir();
25 if (!dir) {
26 dir = cbm_tmpdir();
27 }
28 snprintf(buf, (size_t)bufsz, "%s/config.json", dir);
29}
30
31/* ── Load ────────────────────────────────────────────────────── */
32

Callers 3

cbm_ui_config_loadFunction · 0.85
cbm_ui_config_saveFunction · 0.85
test_ui.cFile · 0.85

Calls 2

cbm_resolve_cache_dirFunction · 0.85
cbm_tmpdirFunction · 0.85

Tested by

no test coverage detected