spiegel_podman/pkg/trust
Kir Kolyshkin 030057aecd Preallocate a slice
When we already know the resulting slice size but still need/want to use
append, it makes sense to preallocate the slice by using make with the
capacity argument.

This commit is part of series fixing issues reported by prealloc linter
from golangci-lint v2.8.0.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2026-02-11 11:41:10 -08:00
..
testdata Add support for showing keyPaths in (podman image trust show) 2022-08-25 01:52:59 +02:00
policy.go fileperms: newer Go 1.13+ octal literal format 2025-10-16 14:11:29 -04:00
policy_test.go fileperms: newer Go 1.13+ octal literal format 2025-10-16 14:11:29 -04:00
registries.go run modernize -fix ./... 2025-09-10 16:17:04 +02:00
trust.go Preallocate a slice 2026-02-11 11:41:10 -08:00
trust_test.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00