summaryrefslogtreecommitdiff
path: root/vendor/github.com/otiai10/copy/copy_namedpipes_x.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/otiai10/copy/copy_namedpipes_x.go')
-rw-r--r--vendor/github.com/otiai10/copy/copy_namedpipes_x.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/vendor/github.com/otiai10/copy/copy_namedpipes_x.go b/vendor/github.com/otiai10/copy/copy_namedpipes_x.go
new file mode 100644
index 0000000..38dd9dc
--- /dev/null
+++ b/vendor/github.com/otiai10/copy/copy_namedpipes_x.go
@@ -0,0 +1,15 @@
+//go:build windows || plan9 || netbsd || aix || illumos || solaris || js
+// +build windows plan9 netbsd aix illumos solaris js
+
+package copy
+
+import (
+ "os"
+)
+
+// TODO: check plan9 netbsd aix illumos solaris in future
+
+// pcopy is for just named pipes. Windows doesn't support them
+func pcopy(dest string, info os.FileInfo) error {
+ return nil
+}