aboutsummaryrefslogtreecommitdiff
path: root/libpod/container_stat_unsupported.go
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/container_stat_unsupported.go')
-rw-r--r--libpod/container_stat_unsupported.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/libpod/container_stat_unsupported.go b/libpod/container_stat_unsupported.go
new file mode 100644
index 000000000..2f1acd44d
--- /dev/null
+++ b/libpod/container_stat_unsupported.go
@@ -0,0 +1,14 @@
+//go:build !linux
+// +build !linux
+
+package libpod
+
+import (
+ "errors"
+
+ "github.com/containers/podman/v4/libpod/define"
+)
+
+func (c *Container) stat(containerMountPoint string, containerPath string) (*define.FileInfo, string, string, error) {
+ return nil, "", "", errors.New("Containers stat not supported on this platform")
+}