| 1882 | } |
| 1883 | |
| 1884 | int write_midx_file_compact(struct odb_source *source, |
| 1885 | struct multi_pack_index *from, |
| 1886 | struct multi_pack_index *to, |
| 1887 | const char *incremental_base, |
| 1888 | unsigned flags) |
| 1889 | { |
| 1890 | struct write_midx_opts opts = { |
| 1891 | .source = source, |
| 1892 | .compact_from = from, |
| 1893 | .compact_to = to, |
| 1894 | .incremental_base = incremental_base, |
| 1895 | .flags = flags | MIDX_WRITE_COMPACT, |
| 1896 | }; |
| 1897 | |
| 1898 | return write_midx_internal(&opts); |
| 1899 | } |
| 1900 | |
| 1901 | int expire_midx_packs(struct odb_source *source, unsigned flags) |
| 1902 | { |
no test coverage detected