| 644 | /* ── Modules ─────────────────────────────────────────────────────── */ |
| 645 | |
| 646 | static int go_module_cmp(const void *a, const void *b) { |
| 647 | const go_module_t *x = (const go_module_t *)a; |
| 648 | const go_module_t *y = (const go_module_t *)b; |
| 649 | int c = strcmp(x->path, y->path); |
| 650 | return c ? c : strcmp(x->dir->path, y->dir->path); |
| 651 | } |
| 652 | |
| 653 | /* Sort the modules; index the first entry of every module path, and every |
| 654 | * (directory, module path) pair. */ |
nothing calls this directly
no outgoing calls
no test coverage detected