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

docker/reference: add IsFullIdentifier #1476

Merged
merged 1 commit into from Feb 24, 2022

Commits on Feb 24, 2022

  1. docker/referece: add IsFullIdentifier

    containers/common/libimage is in need to check whether a given input
    looks like a full image ID (i.e., a 64-byte hex string).  Since
    compiling regexes has a negative impact on init- and run-time, let's
    expose a function to check whether a given string matches the already
    compiled regex in docker/reference.
    
    Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
    vrothberg committed Feb 24, 2022
    Copy the full SHA
    40befe3 View commit details
    Browse the repository at this point in the history