moby/image
Sebastiaan van Stijn d131147a5c
use errors.Is() to handle image store errors
The image store's used are an interface, so there's no guarantee
that implementations don't wrap the errors. Make sure to catch
such cases by using errors.Is.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-01-02 09:41:50 +01:00
..
cache Add canonical import comment 2018-02-05 16:51:57 -05:00
spec fix image spec JSON example 2021-11-22 23:37:23 +08:00
tarexport image: deprecate IDFromDigest() 2023-01-01 12:33:00 +01:00
v1 Remove unused image/v1 code 2022-05-10 23:45:03 +02:00
fs.go Remove uses of deprecated go-digest.NewDigestFromHex, go-digest.Digest.Hex 2022-11-08 16:42:13 +01:00
fs_test.go Remove uses of deprecated go-digest.NewDigestFromHex, go-digest.Digest.Hex 2022-11-08 16:42:13 +01:00
image.go image: deprecate IDFromDigest() 2023-01-01 12:33:00 +01:00
image_test.go Fix spurious error from "docker load" 2021-01-21 22:04:23 +00:00
rootfs.go image: do actual RootFS.DiffIDs copying in Clone() 2019-03-18 01:05:40 +03:00
store.go use errors.Is() to handle image store errors 2023-01-02 09:41:50 +01:00
store_test.go image/store: Use errdefs for errors 2022-12-08 17:17:07 +01:00