Files
podman/pkg/specgen/winpath_linux.go
Jan Kaluza a98154a978 Switch common, storage and image to monorepo.
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2025-09-01 12:33:04 +02:00

23 lines
394 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(path string) bool {
return false
}