| 1707 | } |
| 1708 | |
| 1709 | static bool dk_node_before(const cbm_gbuf_node_t *a, const cbm_gbuf_node_t *b) { |
| 1710 | int c = strcmp(a->file_path, b->file_path); |
| 1711 | return c < 0 || (c == 0 && a->start_line < b->start_line); |
| 1712 | } |
| 1713 | |
| 1714 | /* Every directory above repository path `p` into `dirs`. */ |
| 1715 | static void dk_index_dirs(CBMArena *a, CBMHashTable *dirs, const char *p) { |