aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/rjeczalik/notify/watcher_notimplemented.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/rjeczalik/notify/watcher_notimplemented.go')
-rw-r--r--vendor/github.com/rjeczalik/notify/watcher_notimplemented.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/vendor/github.com/rjeczalik/notify/watcher_notimplemented.go b/vendor/github.com/rjeczalik/notify/watcher_notimplemented.go
new file mode 100644
index 000000000..bb0672fd8
--- /dev/null
+++ b/vendor/github.com/rjeczalik/notify/watcher_notimplemented.go
@@ -0,0 +1,15 @@
+// Copyright (c) 2014-2018 The Notify Authors. All rights reserved.
+// Use of this source code is governed by the MIT license that can be
+// found in the LICENSE file.
+
+// +build !darwin,!linux,!freebsd,!dragonfly,!netbsd,!openbsd,!windows
+// +build !kqueue,!solaris
+
+package notify
+
+import "errors"
+
+// newWatcher stub.
+func newWatcher(chan<- EventInfo) watcher {
+ return watcherStub{errors.New("notify: not implemented")}
+}