Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Utility to get Bytes of a Layer. #94

Merged
merged 5 commits into from
Apr 6, 2024

Conversation

CodeMan99
Copy link
Contributor

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.

@termoshtt termoshtt mentioned this pull request Apr 6, 2024
@termoshtt termoshtt merged commit 3e06f9b into termoshtt:main Apr 6, 2024
@termoshtt
Copy link
Owner

Merged though #96. Thanks!

@CodeMan99 CodeMan99 deleted the feat/get-image-layer branch April 6, 2024 16:37
@termoshtt termoshtt added the add Add new features. label Apr 11, 2024
CodeMan99 added a commit to CodeMan99/tyedev that referenced this pull request Apr 19, 2024
🎉 Use of my own contribution

@see termoshtt/ocipkg#94
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
add Add new features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants