spiegel_podman/pkg/emulation
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
..
binfmtmisc_linux.go fix(emulation): handle fs.ErrNotExist in registeredBinfmtMisc 2025-09-11 16:56:13 +08:00
binfmtmisc_linux_test.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
binfmtmisc_other.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
elf.go pkg/emulation: add linux build tag for elf 2025-04-02 13:35:14 -07:00
emulation.go Preallocate slices flagged by prealloc for golangci-lint 2.9.0 2026-09-14 08:53:26 -04:00