spiegel_podman/pkg/machine/qemu
Kir Kolyshkin d316cbb362 Don't use append if not necessary
Calling append can lead to resizing the slice. In case we have all
elements beforehand, it is not necessary to call append in the first
place and this avoid resizing.

This is the first part of 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
..
command enable gofumpt formatter 2025-11-11 12:32:46 +01:00
config.go Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
config_test.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
machine.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
machine_unix.go Improve cross platform support in QEMU machine sources 2024-02-16 12:49:54 +02:00
machine_windows.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
options_freebsd_amd64.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
options_freebsd_arm64.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
options_linux_amd64.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
options_linux_arm64.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
options_windows_amd64.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
options_windows_arm64.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
stubber.go Don't use append if not necessary 2026-02-11 11:41:10 -08:00
virtiofsd.go Don't use append if not necessary 2026-02-11 11:41:10 -08:00