spiegel_podman/pkg/machine/wsl
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
..
wutil Enforce wsl.exe UTF-8 encoded output 2025-07-02 20:18:52 +00:00
config.go pkg/machine: remove deadcode 2025-06-26 19:37:15 +02:00
declares.go Merge pull request #26201 from lstocchi/wsl 2025-06-13 09:43:50 +00:00
filelock.go fileperms: newer Go 1.13+ octal literal format 2025-10-16 14:11:29 -04:00
machine.go Preallocate slices flagged by prealloc for golangci-lint 2.9.0 2026-09-14 08:53:26 -04:00
machine_unsupported.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
stubber.go lint: reenable revive unused-parameter check 2025-10-01 10:42:08 -04:00
usermodenet.go Replace FindExecutablePeer with FindHelperBinary 2025-12-08 14:42:36 +01:00
util_windows.go fileperms: newer Go 1.13+ octal literal format 2025-10-16 14:11:29 -04:00