Documentation
¶
Overview ¶
Package rfsnotify implements recursive folder monitoring by wrapping the excellent fsnotify library
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Watcher ¶
type Watcher struct {
Events chan fsnotify.Event
Errors chan error
// contains filtered or unexported fields
}
Watcher wraps fsnotify.Watcher. When fsnotify adds recursive watches, you should be able to switch your code to use fsnotify.Watcher
func NewWatcher ¶
NewWatcher establishes a new watcher with the underlying OS and begins waiting for events.
func (*Watcher) AddRecursive ¶
AddRecursive starts watching the named directory and all sub-directories.
func (*Watcher) RemoveRecursive ¶
RemoveRecursive stops watching the named directory and all sub-directories.
Click to show internal directories.
Click to hide internal directories.