From b0d36f63513ee64fa1c1eff4d1045a7633804f12 Mon Sep 17 00:00:00 2001 From: "Jason T. Greene" Date: Thu, 24 Mar 2022 22:07:55 -0500 Subject: Implements Windows volume/mount support Based on WSL2 9p support: remaps windows paths to /mnt/ locations for both podman and Docker API clients. Signed-off-by: Jason T. Greene --- pkg/specgen/winpath_unsupported.go | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pkg/specgen/winpath_unsupported.go (limited to 'pkg/specgen/winpath_unsupported.go') diff --git a/pkg/specgen/winpath_unsupported.go b/pkg/specgen/winpath_unsupported.go new file mode 100644 index 000000000..4cd008fdd --- /dev/null +++ b/pkg/specgen/winpath_unsupported.go @@ -0,0 +1,20 @@ +//go:build !linux && !windows +// +build !linux,!windows + +package specgen + +func shouldResolveWinPaths() bool { + return false +} + +func shouldResolveUnixWinVariant(path string) bool { + return false +} + +func resolveRelativeOnWindows(path string) string { + return path +} + +func winPathExists(path string) bool { + return false +} -- cgit v1.2.3-54-g00ecf