| 123 | }; |
| 124 | |
| 125 | static 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 | |
| 133 | static int should_include_pack(const struct write_midx_context *ctx, |
| 134 | const char *file_name) |
no outgoing calls
no test coverage detected