| 388 | } ws_match_t; |
| 389 | |
| 390 | static bool ws_match_visit(const char *root, bool sensitive, void *ctx) { |
| 391 | ws_match_t *m = ctx; |
| 392 | if (cbm_path_within_root(root, m->candidate)) { |
| 393 | m->contained = true; |
| 394 | if (sensitive && ws_paths_equal(root, m->candidate)) { |
| 395 | m->exact_sensitive = true; |
| 396 | } |
| 397 | } |
| 398 | return false; /* visit every entry: a later one may be the exact match */ |
| 399 | } |
| 400 | |
| 401 | typedef struct { |
| 402 | char *out; |
nothing calls this directly
no test coverage detected