spiegel_podman/pkg/machine/wsl
Kir Kolyshkin f9002cfd31 Fix GOOS=windows prealloc linter warnings
These ones:

> cmd/winpath/main.go:148:2: directive `//nolint:prealloc` is unused for linter "prealloc" (nolintlint)
> 	//nolint:prealloc
> 	^
> pkg/machine/hyperv/vsock/vsock.go:425:2: Consider preallocating allSocks (prealloc)
> 	allSocks := []*HVSockRegistryEntry{}
> 	^
> pkg/machine/wsl/machine.go:464:2: Consider preallocating newArgs with capacity 4 + len(arg) (prealloc)
> 	newArgs := []string{"-u", "root", "-d", dist}
> 	^
> pkg/machine/wsl/machine.go:471:2: Consider preallocating newArgs with capacity 4 + len(arg) (prealloc)
> 	newArgs := []string{"-u", "root", "-d", dist}
> 	^

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2026-02-11 11:41:11 -08:00
..
wutil Enforce wsl.exe UTF-8 encoded output 2025-07-02 20:18:52 +00:00
config.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
declares.go Stop enforcing iptables on WSL 2025-11-21 01:01:47 +01:00
filelock.go fileperms: newer Go 1.13+ octal literal format 2025-10-16 14:11:29 -04:00
machine.go Fix GOOS=windows prealloc linter warnings 2026-02-11 11:41:11 -08:00
machine_unsupported.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
stubber.go move HasAdminRights to windows pkg 2025-11-20 15:20:57 +01:00
usermodenet.go Replace FindExecutablePeer with FindHelperBinary 2025-11-26 14:52:32 +01:00
util_windows.go move HasAdminRights to windows pkg 2025-11-20 15:20:57 +01:00