Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Watcher ¶
type Watcher interface { Add(name string) error Close() error Events() chan fsnotify.Event Errors() chan error }
Watcher watches for Events and Errors once a resource is added to the watch list. Primarily used for mocking the fsnotify lib.
func NewWatcher ¶
NewWatcher creates a new fsnotifyWatcherWrapper, wrapping the fsnotify.Watcher.
Click to show internal directories.
Click to hide internal directories.