Files
podman/pkg/specgen/winpath_linux.go
2025-11-21 15:32:39 +03:00

24 lines
449 B
Go

package specgen
import (
"go.podman.io/common/pkg/machine"
"go.podman.io/storage/pkg/fileutils"
)
func shouldResolveWinPaths() bool {
hostType := machine.HostType()
return hostType == machine.Wsl || hostType == machine.HyperV
}
func shouldResolveUnixWinVariant(path string) bool {
return fileutils.Exists(path) != nil
}
func resolveRelativeOnWindows(path string) string {
return path
}
func winPathExists(_ string) bool {
return false
}