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

Function repack_write_midx

repack-midx.c:1010–1022  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1008}
1009
1010int repack_write_midx(struct repack_write_midx_opts *opts)
1011{
1012 switch (opts->mode) {
1013 case REPACK_WRITE_MIDX_NONE:
1014 BUG("write_midx mode is NONE?");
1015 case REPACK_WRITE_MIDX_DEFAULT:
1016 return write_midx_included_packs(opts);
1017 case REPACK_WRITE_MIDX_INCREMENTAL:
1018 return write_midx_incremental(opts);
1019 default:
1020 BUG("unhandled write_midx mode: %d", opts->mode);
1021 }
1022}

Callers 1

cmd_repackFunction · 0.85

Calls 2

write_midx_incrementalFunction · 0.85

Tested by

no test coverage detected