moby/layer
Sebastiaan van Stijn c0c146fc82
Remove uses of deprecated go-digest.NewDigestFromHex, go-digest.Digest.Hex
Both of these were deprecated in 55f675811a,
but the format of the GoDoc comments didn't follow the correct format, which
caused them not being picked up by tools as "deprecated".

This patch updates uses in the codebase to use the alternatives.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 0f7c9cd27e)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-12-09 00:17:18 +01:00
..
empty.go layer: remove unused error return from .Size() and .DiffSize() 2022-01-24 18:45:47 +01:00
empty_test.go remove unneeded "digest" alias for "go-digest" 2022-03-04 14:49:42 +01:00
filestore.go Remove uses of deprecated go-digest.NewDigestFromHex, go-digest.Digest.Hex 2022-12-09 00:17:18 +01:00
filestore_test.go remove unneeded "digest" alias for "go-digest" 2022-03-04 14:49:42 +01:00
layer.go remove unneeded "digest" alias for "go-digest" 2022-03-04 14:49:42 +01:00
layer_store.go Remove uses of deprecated go-digest.NewDigestFromHex, go-digest.Digest.Hex 2022-12-09 00:17:18 +01:00
layer_store_windows.go Add canonical import comment 2018-02-05 16:51:57 -05:00
layer_test.go Remove uses of deprecated go-digest.NewDigestFromHex, go-digest.Digest.Hex 2022-12-09 00:17:18 +01:00
layer_unix.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
layer_unix_test.go runconfig, oci, image, layer, distribution: fix empty-lines (revive) 2022-10-01 00:01:14 +02:00
layer_windows.go Fix a typos in layer_windows.go 2018-11-18 18:45:06 +08:00
migration.go Merge pull request #43302 from thaJeztah/layer_remove_getwithoutlock 2022-03-05 21:18:26 +01:00
migration_test.go layer: remove OS from layerstore 2022-01-25 15:23:23 +01:00
mount_test.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
mounted_layer.go Remove unused functions, variables, fields 2019-09-18 12:57:12 +02:00
ro_layer.go layer: remove layerstore.setOS(), layerstore.getOS() 2022-03-11 23:14:27 +01:00
ro_layer_windows.go Add canonical import comment 2018-02-05 16:51:57 -05:00