mirror of
https://github.com/containers/podman.git
synced 2025-10-11 08:15:25 +08:00
23 lines
394 B
Go
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
|
|
}
|