moby--moby/distribution
Eng Zer Jun 7873c27cfb
all: replace strings.Replace with strings.ReplaceAll
strings.ReplaceAll(s, old, new) is a wrapper function for
strings.Replace(s, old, new, -1). But strings.ReplaceAll is more
readable and removes the hardcoded -1.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-05-09 19:45:40 +08:00
..
fixtures/validate_manifest
metadata
utils
xfer
config.go distribution: remove RootFSFromConfig(), PlatformFromConfig() from ImageConfigStore 2022-04-21 23:12:00 +02:00
errors.go
errors_test.go
manifest.go
manifest_test.go all: replace strings.Replace with strings.ReplaceAll 2022-05-09 19:45:40 +08:00
pull.go distribution: move newPusher() and newPuller() together with definition 2022-04-21 23:13:39 +02:00
pull_v2.go distribution: move newPusher() and newPuller() together with definition 2022-04-21 23:13:39 +02:00
pull_v2_test.go distribution: add GetRepository(), un-export NewV2Repository, ValidateRepoName 2022-04-21 23:12:02 +02:00
pull_v2_unix.go distribution: remove Puller interface, remove redundant V1 checks 2022-04-21 23:11:07 +02:00
pull_v2_windows.go distribution: remove Puller interface, remove redundant V1 checks 2022-04-21 23:11:07 +02:00
push.go distribution: move newPusher() and newPuller() together with definition 2022-04-21 23:13:39 +02:00
push_v2.go distribution: move newPusher() and newPuller() together with definition 2022-04-21 23:13:39 +02:00
push_v2_test.go distribution: remove Pusher interface, NewPusher(), and redundant V1 checks 2022-04-21 23:11:54 +02:00
registry.go distribution: add GetRepository(), un-export NewV2Repository, ValidateRepoName 2022-04-21 23:12:02 +02:00
registry_unit_test.go distribution: add GetRepository(), un-export NewV2Repository, ValidateRepoName 2022-04-21 23:12:02 +02:00
repository.go distribution: add GetRepository(), un-export NewV2Repository, ValidateRepoName 2022-04-21 23:12:02 +02:00