| 15 | } |
| 16 | |
| 17 | static int pack_geometry_cmp(const void *va, const void *vb) |
| 18 | { |
| 19 | uint32_t aw = pack_geometry_weight(*(struct packed_git **)va), |
| 20 | bw = pack_geometry_weight(*(struct packed_git **)vb); |
| 21 | |
| 22 | if (aw < bw) |
| 23 | return -1; |
| 24 | if (aw > bw) |
| 25 | return 1; |
| 26 | return 0; |
| 27 | } |
| 28 | |
| 29 | void pack_geometry_init(struct pack_geometry *geometry, |
| 30 | struct existing_packs *existing, |
nothing calls this directly
no test coverage detected