spiegel_podman/pkg/bindings/images
Kir Kolyshkin 7f7b35356f Replace os.Is* error checks with errors.Is
Using os.Is{Exist,NotExist,Permission} checks is not recommended in the
new code (see official documentation). While using it in the existing
code is OK, it may still result in a subtle errors later (for a specific
example of that, see [1]).

Replace those with errors.Is.

Generated by:

	gofmt -r 'os.IsExist(a) -> errors.Is(a, os.ErrExist)' -w .
	gofmt -r 'os.IsNotExist(a) -> errors.Is(a, os.ErrNotExist)' -w .
	gofmt -r 'os.IsPermission(a) -> errors.Is(a, os.ErrPermission)' -w .
	goimports -w .
	git diff vendor test/tools/vendor | patch -p1 -R

[1]: https://github.com/opencontainers/runc/pull/5061
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2026-05-21 13:09:42 -07:00
..
build.go Replace os.Is* error checks with errors.Is 2026-05-21 13:09:42 -07:00
build_test.go RUN-4538: Fix buildah vendoring 2026-04-21 14:27:58 -05:00
build_unix.go pkg/bindings/images: fix linter warning on Darwin 2025-03-31 12:27:55 -07:00
build_windows.go lint: reenable revive unused-parameter check 2025-10-01 10:42:08 -04:00
diff.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
images.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
pull.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
push.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
rm.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
types.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
types_diff_options.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
types_exists_options.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
types_export_options.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
types_get_options.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
types_history_options.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
types_import_options.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
types_list_options.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
types_load_options.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
types_prune_options.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
types_pull_options.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
types_push_options.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
types_remove_options.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
types_scp_options.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
types_search_options.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
types_tag_options.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
types_tree_options.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
types_untag_options.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00