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

Function write_midx_file_only

midx-write.c:1865–1882  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1863}
1864
1865int write_midx_file_only(struct odb_source *source,
1866 struct string_list *packs_to_include,
1867 const char *preferred_pack_name,
1868 const char *refs_snapshot,
1869 const char *incremental_base,
1870 unsigned flags)
1871{
1872 struct write_midx_opts opts = {
1873 .source = source,
1874 .packs_to_include = packs_to_include,
1875 .preferred_pack_name = preferred_pack_name,
1876 .refs_snapshot = refs_snapshot,
1877 .incremental_base = incremental_base,
1878 .flags = flags,
1879 };
1880
1881 return write_midx_internal(&opts);
1882}
1883
1884int write_midx_file_compact(struct odb_source *source,
1885 struct multi_pack_index *from,

Callers 1

Calls 1

write_midx_internalFunction · 0.85

Tested by

no test coverage detected