Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterWatcherFactory ¶
func RegisterWatcherFactory(fn WatcherFactoryFunc)
Types ¶
type FSEvent ¶
type FSEvent struct { Operation FSOperation Path string }
type FSWatcher ¶
type FSWatcher interface { Configure(string) error Events() chan *FSEvent // Adds a directory or file to the watcher Add(string) error // Removes a directory or file from the watcher Remove(string) error }
FSWatcher is a file system watcher
func NewWatcher ¶
type WatcherFactoryFunc ¶
Click to show internal directories.
Click to hide internal directories.