| 1858 | } |
| 1859 | |
| 1860 | static int graph_node_compare(const cbm_graph_node_identity_t *left, |
| 1861 | const cbm_graph_node_identity_t *right) { |
| 1862 | int cmp = graph_binary_compare(left->qualified_name, right->qualified_name); |
| 1863 | if (cmp == 0) { |
| 1864 | cmp = graph_binary_compare(left->label, right->label); |
| 1865 | } |
| 1866 | if (cmp == 0) { |
| 1867 | cmp = graph_binary_compare(left->file_path, right->file_path); |
| 1868 | } |
| 1869 | return cmp; |
| 1870 | } |
| 1871 | |
| 1872 | static int graph_edge_compare(const cbm_graph_edge_identity_t *left, |
| 1873 | const cbm_graph_edge_identity_t *right) { |
no test coverage detected