Re: [PATCH 08/16] midx: expose `midx_layer_contains_pack()`
On Sun, Mar 29, 2026 at 05:41:11PM -0400, Taylor Blau wrote:
Show 8 quoted lines
> Rename the function `midx_contains_pack_1()` to instead be called
> `midx_layer_contains_pack()` and make it accessible. Unlike
> `midx_contains_pack()` (which recurses through the entire chain), this
> function checks only a single MIDX layer.
>
> This will be used by a subsequent commit to determine whether a given
> pack belongs to the tip MIDX layer specifically, rather than to any
> layer in the chain.
Yup, that is a much better name.
-Peff