From 0631fd2440dc514bb2e0a5b942577e81ba63d7e4 Mon Sep 17 00:00:00 2001 From: Simon Frei Date: Wed, 4 Jul 2018 08:37:58 +0200 Subject: [PATCH] vendor: Add missing file to github.com/syncthing/notify (#5042) --- .../syncthing/notify/watcher_notimplemented.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 vendor/github.com/syncthing/notify/watcher_notimplemented.go diff --git a/vendor/github.com/syncthing/notify/watcher_notimplemented.go b/vendor/github.com/syncthing/notify/watcher_notimplemented.go new file mode 100644 index 000000000..bb0672fd8 --- /dev/null +++ b/vendor/github.com/syncthing/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")} +}