buildah/bind
Nalin Dahyabhai bb149ea686 Use errors.Is() instead of os.Is{Not,}Exist
If errors for which os.IsExist() or os.IsNotExist() would have returned
true have been wrapped using fmt.Errorf()'s "%w" verb, os.IsExist() and
os.IsNotExist(), not having been retrofitted to use errors.Is(), will
return false.

Use errors.Is() to check if an error is an os.ErrExist or os.ErrNotExist
error instead of calling os.IsExist() or os.IsNotExist().

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2022-07-26 15:36:58 -04:00
..
mount.go Use errors.Is() instead of os.Is{Not,}Exist 2022-07-26 15:36:58 -04:00
mount_unsupported.go bind/mount_unsupported.go: remove import errors 2018-06-26 13:34:04 -05:00
util.go Remove util.StringInSlice because it is defined in containers/common 2022-05-25 05:49:04 -04:00