| 21 | /* ── Path ────────────────────────────────────────────────────── */ |
| 22 | |
| 23 | void 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 |
no test coverage detected