| 437 | } ws_match_t; |
| 438 | |
| 439 | static bool ws_match_visit(const char *root, bool sensitive, void *ctx) { |
| 440 | ws_match_t *m = ctx; |
| 441 | if (cbm_path_within_root(root, m->candidate)) { |
| 442 | m->contained = true; |
| 443 | if (sensitive && ws_paths_equal(root, m->candidate)) { |
| 444 | m->exact_sensitive = true; |
| 445 | } |
| 446 | } |
| 447 | return false; /* visit every entry: a later one may be the exact match */ |
| 448 | } |
| 449 | |
| 450 | typedef struct { |
| 451 | char *out; |
nothing calls this directly
no test coverage detected