| 260 | } |
| 261 | |
| 262 | static bool sh_dir_exists(const sh_index_t *ix, const char *dir) { |
| 263 | if (!dir[0]) { |
| 264 | return true; |
| 265 | } |
| 266 | char key[CBM_SZ_4K]; |
| 267 | int lo = 0; |
| 268 | int hi = 0; |
| 269 | sh_range(&ix->files, dir, key, sizeof(key), &lo, &hi); |
| 270 | return hi > lo; |
| 271 | } |
| 272 | |
| 273 | /* ── Path values ───────────────────────────────────────────────────── */ |
| 274 |
no test coverage detected