Commit f965e06
committed
Add API to resolve manifest for current platform
Add open_image_this_platform() which resolves a manifest from an OCI
directory for the native platform (OS and architecture). This handles
manifest lists by peeling them one level to find platform-specific
manifests.
Returns ResolvedManifest containing:
- The resolved manifest and its digest
- The source image index and digest if resolution went through a
manifest list
Assisted-by: OpenCode (claude-opus-4-5)1 parent 8d05e3c commit f965e06
2 files changed
Lines changed: 455 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
0 commit comments