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

Function cbm_ui_config_path

src/ui/config.c:36–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 3

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