Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Watcher ¶
type Watcher struct { Events chan *fsnotify.Event Error chan error SkipFolders []string // contains filtered or unexported fields }
Watcher is the struct handling the watching of file system events over a recursive directory tree.
func NewWatcher ¶
NewWatcher initializes a new watcher which is able to recursively scan the directory structure.
func NewWatcherWithSkipFolders ¶
NewWatcherWithSkipFolders initializes a new watcher capable of watching for file system events of a recursive directory structure.
Click to show internal directories.
Click to hide internal directories.