summaryrefslogtreecommitdiff
path: root/teleirc/matterbridge/vendor/github.com/spf13/viper/watch.go
diff options
context:
space:
mode:
Diffstat (limited to 'teleirc/matterbridge/vendor/github.com/spf13/viper/watch.go')
-rw-r--r--teleirc/matterbridge/vendor/github.com/spf13/viper/watch.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/teleirc/matterbridge/vendor/github.com/spf13/viper/watch.go b/teleirc/matterbridge/vendor/github.com/spf13/viper/watch.go
new file mode 100644
index 0000000..1ce84ea
--- /dev/null
+++ b/teleirc/matterbridge/vendor/github.com/spf13/viper/watch.go
@@ -0,0 +1,12 @@
+//go:build darwin || dragonfly || freebsd || openbsd || linux || netbsd || solaris || windows
+// +build darwin dragonfly freebsd openbsd linux netbsd solaris windows
+
+package viper
+
+import "github.com/fsnotify/fsnotify"
+
+type watcher = fsnotify.Watcher
+
+func newWatcher() (*watcher, error) {
+ return fsnotify.NewWatcher()
+}