spiegel_podman/pkg/trust
Lokesh Mandvekar 35920891c1
Preallocate slices flagged by prealloc for golangci-lint 2.9.0
golangci-lint 2.9.0 with go 1.26 makes the prealloc linter smarter and flags many slices that can be preallocated with a known capacity. Convert them to make([]T, 0, cap) and drop a now-unused nolint directive.

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
2026-09-14 08:53:26 -04:00
..
testdata Add support for showing keyPaths in (podman image trust show) 2022-08-25 01:52:59 +02:00
policy.go Replace os.Is* error checks with errors.Is 2026-06-04 19:38:16 +02:00
policy_test.go fileperms: newer Go 1.13+ octal literal format 2025-10-16 14:11:29 -04:00
registries.go Replace os.Is* error checks with errors.Is 2026-06-04 19:38:16 +02:00
trust.go Preallocate slices flagged by prealloc for golangci-lint 2.9.0 2026-09-14 08:53:26 -04:00
trust_test.go fileperms: newer Go 1.13+ octal literal format 2025-10-16 14:11:29 -04:00