Files
podman/pkg/specgen/winpath_linux.go
Black-Hole1 a2bf8c6d50 refactor(machine): improve machine marker value
1. Set the marker to the current virtual machine type instead of fixed qemu.
2. Update containers/common

[NO NEW TESTS NEEDED]

Signed-off-by: Black-Hole1 <bh@bugs.cc>
2023-11-28 21:47:12 +08:00

25 lines
378 B
Go

package specgen
import (
"os"
"github.com/containers/common/pkg/machine"
)
func shouldResolveWinPaths() bool {
return machine.HostType() == "wsl"
}
func shouldResolveUnixWinVariant(path string) bool {
_, err := os.Stat(path)
return err != nil
}
func resolveRelativeOnWindows(path string) string {
return path
}
func winPathExists(path string) bool {
return false
}