distribution/reference
Aaron Lehmann 245ca4659e reference: Replace EnsureTagged with TagNameOnly
The common use case for this function is to add a default tag if the
reference only has a name. The current behavior only adds the default
tag if there is no *tag*, which requires most callers to check for a
digest. Change the behavior to only add default tags to name-only
references, and change the name to reflect this. The documentation
already described the new behavior, so it does not need to be changed.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2017-01-26 11:46:00 -08:00
..
helpers.go Merge pull request #2143 from dmcgowan/reference-familiar-match 2017-01-13 18:32:33 -08:00
normalize.go reference: Replace EnsureTagged with TagNameOnly 2017-01-26 11:46:00 -08:00
normalize_test.go Fix recursion with digest String 2017-01-20 11:38:07 -08:00
reference.go Fix recursion with digest String 2017-01-20 11:38:07 -08:00
reference_test.go Update ParseNamed to require canonical form 2017-01-18 13:56:56 -08:00
regexp.go Add identifier grammar 2017-01-05 15:41:56 -08:00
regexp_test.go Add identifier grammar 2017-01-05 15:41:56 -08:00