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