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

Function write_midx_file

midx-write.c:1850–1863  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1848}
1849
1850int 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
1865int write_midx_file_only(struct odb_source *source,
1866 struct string_list *packs_to_include,

Callers 2

cmd_repackFunction · 0.85

Calls 1

write_midx_internalFunction · 0.85

Tested by

no test coverage detected