Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information