Files
podman/pkg/specgen/winpath_linux.go
2025-10-01 10:42:08 -04:00

23 lines
391 B
Go

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