Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Watcher ¶
type Watcher struct {
// contains filtered or unexported fields
}
Watcher is a recursive fsnotify implementation.
func NewWatcher ¶
NewWatcher creates a new recursive fsnotify watch on all directories. If something is added or renamed, that watch tree is re-created. The given callback is not called for each change, but aggregated within a time window of second. It gets only called, as soon as all changes within a second have been applied, so an ever-changing directory will cause the callback to be never called.
Click to show internal directories.
Click to hide internal directories.