MCPcopy Create free account
hub / github.com/git/git / write_midx_file_compact

Function write_midx_file_compact

midx-write.c:1884–1899  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1882}
1883
1884int 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
1901int expire_midx_packs(struct odb_source *source, unsigned flags)
1902{

Callers 1

Calls 1

write_midx_internalFunction · 0.85

Tested by

no test coverage detected