image
image copied to clipboard
WIP: oci/layout API extensions
Includes @sourceIndex code from https://github.com/containers/image/pull/1677 .
Do not merge:
- At least the transport part must have tests (probably mostly from 1677).
- Do we want to add this to
oci/archiveat the same time? Structureoci/internalaccordingly either way.
Added PutBlobFromLocalFile, just to sketch out what an API benefiting from reflinks and the like could look like.
i accidentally deleted my earlier comment, but I have been using the layout.List portion of this PR and it is working nicely. Will test the latest addition here soon.
Opened https://github.com/containers/image/pull/2633 to kick this PR over the finish line.
Closing in favor of #2633.