| 1091 | } |
| 1092 | |
| 1093 | struct packfile_list_entry *packfile_store_get_packs(struct packfile_store *store) |
| 1094 | { |
| 1095 | packfile_store_prepare(store); |
| 1096 | |
| 1097 | if (store->midx) { |
| 1098 | struct multi_pack_index *m = store->midx; |
| 1099 | for (uint32_t i = 0; i < m->num_packs + m->num_packs_in_base; i++) |
| 1100 | prepare_midx_pack(m, i); |
| 1101 | } |
| 1102 | |
| 1103 | return store->packs.head; |
| 1104 | } |
| 1105 | |
| 1106 | int packfile_store_count_objects(struct packfile_store *store, |
| 1107 | enum odb_count_objects_flags flags UNUSED, |
no test coverage detected