Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrEventOverflow = fmt.Errorf(`fsnotify queue overflow`)
Functions ¶
This section is empty.
Types ¶
type CommandOption ¶
type CommandOption = api.CommandOption
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
Driver is the inotify backed fsnotify driver. The driver itself doesn't keep state. Stateful operations are abstracted within the Run() method.
func (*Driver) Add ¶
func (driver *Driver) Add(path string, options ...api.CommandOption) error
Add adds a new path to be watched by the driver
Click to show internal directories.
Click to hide internal directories.