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

Function midx_pack_perm

midx-write.c:125–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123};
124
125static uint32_t midx_pack_perm(struct write_midx_context *ctx,
126 uint32_t orig_pack_int_id)
127{
128 if (ctx->compact)
129 orig_pack_int_id -= ctx->compact_from->num_packs_in_base;
130 return ctx->pack_perm[orig_pack_int_id];
131}
132
133static int should_include_pack(const struct write_midx_context *ctx,
134 const char *file_name)

Callers 4

midx_pack_orderFunction · 0.85
write_midx_internalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected