Closed CodeMan99 closed 6 months ago
Replaces #93 - I was reaching for the wrong abstraction.
I want to be able to work with arbitrary layers. The custom layer types of devcontainers specifically.
It seems like providing the bytes of a given layer is the least opinionated way to handle this.
This uses oci_spec::image::MediaType as the callback argument for filtering. Worth considering exposing that value for easier usage.
oci_spec::image::MediaType
Merged though #96. Thanks!
Replaces #93 - I was reaching for the wrong abstraction.
Why
I want to be able to work with arbitrary layers. The custom layer types of devcontainers specifically.
Provide
It seems like providing the bytes of a given layer is the least opinionated way to handle this.
Additional
This uses
oci_spec::image::MediaType
as the callback argument for filtering. Worth considering exposing that value for easier usage.