image/docker/reference
Valentin Rothberg 40befe38b2 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>
2022-02-24 10:25:02 +01:00
..
README.md Update docker/reference from docker/distribution/reference 2019-05-29 00:30:55 +02:00
helpers.go Copy github.com/docker/distribution/reference to docker/reference 2017-02-07 15:25:27 +01:00
normalize.go Update docker/reference from docker/distribution/reference 2019-05-29 00:30:55 +02:00
normalize_test.go Spelling 2021-03-23 14:37:37 -04:00
reference.go Update docker/reference from docker/distribution/reference 2019-05-29 00:30:55 +02:00
reference_test.go Spelling 2021-03-23 14:37:37 -04:00
regexp-additions.go docker/referece: add IsFullIdentifier 2022-02-24 10:25:02 +01:00
regexp.go Update docker/reference from docker/distribution/reference 2019-05-29 00:30:55 +02:00
regexp_test.go docker/referece: add IsFullIdentifier 2022-02-24 10:25:02 +01:00

README.md

This is a copy of github.com/docker/distribution/reference as of commit 3226863cbcba6dbc2f6c83a37b28126c934af3f8, except that ParseAnyReferenceWithSet has been removed to drop the dependency on github.com/docker/distribution/digestset.