| 33 | /* ── Path ────────────────────────────────────────────────────── */ |
| 34 | |
| 35 | void 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 |
no test coverage detected