mirror of
https://github.com/containers/skopeo.git
synced 2025-05-09 08:26:24 +00:00
In some code I'm writing I want to be able to cleanly test if an image exists, as distinguished from other errors like authentication problems, network flakes etc. As best I can tell, the containers/image abstraction doesn't offer a clean way to do this. For now, I chose the route of adding the ugly string error matching here for the two cases I care about (docker v2s2 registry and oci directories), so my Rust code can operate in terms of clean `Option<Image>`. Signed-off-by: Colin Walters <walters@verbum.org> |
||
---|---|---|
.. | ||
fixtures | ||
blocked_test.go | ||
check_test.go | ||
copy_test.go | ||
decompress-dirs.sh | ||
fixtures_info_test.go | ||
openshift_shell_test.go | ||
openshift.go | ||
procutils_linux.go | ||
procutils.go | ||
proxy_test.go | ||
registry.go | ||
signing_test.go | ||
sync_test.go | ||
utils.go |