| 1848 | } |
| 1849 | |
| 1850 | int write_midx_file(struct odb_source *source, |
| 1851 | const char *preferred_pack_name, |
| 1852 | const char *refs_snapshot, |
| 1853 | unsigned flags) |
| 1854 | { |
| 1855 | struct write_midx_opts opts = { |
| 1856 | .source = source, |
| 1857 | .preferred_pack_name = preferred_pack_name, |
| 1858 | .refs_snapshot = refs_snapshot, |
| 1859 | .flags = flags, |
| 1860 | }; |
| 1861 | |
| 1862 | return write_midx_internal(&opts); |
| 1863 | } |
| 1864 | |
| 1865 | int write_midx_file_only(struct odb_source *source, |
| 1866 | struct string_list *packs_to_include, |
no test coverage detected