Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Batcher ¶
type Batcher struct { *fsnotify.Watcher Events chan []fsnotify.Event // Events are returned on this channel // contains filtered or unexported fields }
Batcher batches file watch events in a given interval.
func NewBatchWatcher ¶
NewWatcher creates and starts a Batcher with the given time interval.
Click to show internal directories.
Click to hide internal directories.