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 RWatcher ¶
type RWatcher struct { Events chan fsnotify.Event Errors chan error // contains filtered or unexported fields }
RWatcher 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 (*RWatcher) AddRecursive ¶
AddRecursive starts watching the named directory and all sub-directories.
func (*RWatcher) RemoveRecursive ¶
RemoveRecursive stops watching the named directory and all sub-directories.
Click to show internal directories.
Click to hide internal directories.