Count edges of `edge_type`; -1 on DB error. */
| 252 | |
| 253 | /* Count edges of `edge_type`; -1 on DB error. */ |
| 254 | static int cp_edges(cbm_store_t *store, const char *project, const char *edge_type) { |
| 255 | if (!store) return -1; |
| 256 | return cbm_store_count_edges_by_type(store, project, edge_type); |
| 257 | } |
| 258 | |
| 259 | /* Count nodes with a given label. */ |
| 260 | static int cp_count_label(cbm_store_t *store, const char *project, const char *label) { |
no test coverage detected