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

Function cbm_ui_config_path

src/ui/config.c:35–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33/* ── Path ────────────────────────────────────────────────────── */
34
35void cbm_ui_config_path(char *buf, int bufsz) {
36 const char *dir = cbm_resolve_cache_dir();
37 if (!dir) {
38 dir = cbm_tmpdir();
39 }
40 snprintf(buf, (size_t)bufsz, "%s/config.json", dir);
41}
42
43/* ── Load ────────────────────────────────────────────────────── */
44

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