Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Watcher ¶
type Watcher struct {
// It's inherently an fsnotify Watcher under the hood.
*fsnotify.Watcher
// In the following format:
// Key - Absolute File Name to Watch
// Value - Function to execute
Map map[string]Operation
// contains filtered or unexported fields
}
func (*Watcher) Register ¶
Add individial location to watcher. Along with associating it with respectiove operation function.
func (*Watcher) Registered ¶
Validates whether a given key is already register in the watcher.
Click to show internal directories.
Click to hide internal directories.