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

fix: export no match / multiple match errors #95

Merged
merged 1 commit into from
Oct 7, 2024
Merged

Commits on Oct 7, 2024

  1. fix: export no match / multiple match errors

    `OCIFileImage.Image` or `OCIFileImage.Index` can fail due to no
    descriptors, or multiple descriptors, being selected by the provided
    matcher. The functions return a single image or index only.
    
    These no match / multiple match error cases may require specific action
    in the caller. For example, when looking for an artifact associated with
    a container image, which may or may not be present.
    
    Export `ErrNoMatch` and `ErrMultipleMatches`, and use these two errors
    across the Image and Index functions.
    
    Fixes sylabs#94
    dtrudg committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    3b0bc23 View commit details
    Browse the repository at this point in the history