Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileChangedCallback ¶
type FileChangedCallback interface {
FileChanged(string)
}
type FileCreatedCallback ¶
type FileCreatedCallback interface {
FileCreated(string)
}
type FileRemovedCallback ¶
type FileRemovedCallback interface {
FileRemoved(string)
}
type FileRenamedCallback ¶
type FileRenamedCallback interface {
FileRenamed(string)
}
type Watcher ¶
type Watcher struct {
// contains filtered or unexported fields
}
Wrapper around fsnotify watcher to suit lime needs Enables:
- Watching directories, we will have less individual watchers
- Have multiple subscribers on one file or directory resolves #285
- Watching a path which doesn't exist yet
- Watching and applying action on certain events
func NewWatcher ¶
Click to show internal directories.
Click to hide internal directories.