summaryrefslogtreecommitdiff
path: root/libpod/container_copy_unsupported.go
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/container_copy_unsupported.go')
-rw-r--r--libpod/container_copy_unsupported.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/libpod/container_copy_unsupported.go b/libpod/container_copy_unsupported.go
new file mode 100644
index 000000000..b2bdd3e3d
--- /dev/null
+++ b/libpod/container_copy_unsupported.go
@@ -0,0 +1,16 @@
+// +build !linux
+
+package libpod
+
+import (
+ "context"
+ "io"
+)
+
+func (c *Container) copyFromArchive(ctx context.Context, path string, reader io.Reader) (func() error, error) {
+ return nil, nil
+}
+
+func (c *Container) copyToArchive(ctx context.Context, path string, writer io.Writer) (func() error, error) {
+ return nil, nil
+}