author | Mikael Berthe <mikael@lilotux.net> |
Sat, 04 Feb 2023 12:58:35 +0100 | |
changeset 265 | 05c40b36d3b2 |
parent 260 | 445e01aede7e |
permissions | -rw-r--r-- |
265
05c40b36d3b2
Bump to version 3.0.0-dev, using madon v3
Mikael Berthe <mikael@lilotux.net>
parents:
260
diff
changeset
|
1 |
//go:build darwin || dragonfly || freebsd || openbsd || linux || netbsd || solaris || windows |
05c40b36d3b2
Bump to version 3.0.0-dev, using madon v3
Mikael Berthe <mikael@lilotux.net>
parents:
260
diff
changeset
|
2 |
// +build darwin dragonfly freebsd openbsd linux netbsd solaris windows |
256 | 3 |
|
4 |
package viper |
|
5 |
||
6 |
import "github.com/fsnotify/fsnotify" |
|
7 |
||
8 |
type watcher = fsnotify.Watcher |
|
9 |
||
10 |
func newWatcher() (*watcher, error) { |
|
11 |
return fsnotify.NewWatcher() |
|
12 |
} |