Count nodes with the given exact name in the project (e.g. a Route path). */
| 9701 | |
| 9702 | /* Count nodes with the given exact name in the project (e.g. a Route path). */ |
| 9703 | static int count_nodes_named(cbm_store_t *s, const char *project, const char *name) { |
| 9704 | cbm_node_t *ns = NULL; |
| 9705 | int n = 0; |
| 9706 | cbm_store_find_nodes_by_name(s, project, name, &ns, &n); |
| 9707 | if (ns) { |
| 9708 | cbm_store_free_nodes(ns, n); |
| 9709 | } |
| 9710 | return n; |
| 9711 | } |
| 9712 | |
| 9713 | /* Parallel-resolver regression for the TS/JS receiver guard (>= 50 files forces |
| 9714 | * pass_parallel.c's resolve_file_calls). The guard must not drop a weak member |
no test coverage detected