Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RecursiveWatcher ¶
type RecursiveWatcher struct { Watcher *fsnotify.Watcher Flags uint32 OnEventFunc func(event *fsnotify.FileEvent) Filter func(path string) bool // contains filtered or unexported fields }
func NewRecurisveWatcher ¶
func NewRecurisveWatcher(path string) (*RecursiveWatcher, error)
func (*RecursiveWatcher) AddFolder ¶
func (rw *RecursiveWatcher) AddFolder(path string)
func (*RecursiveWatcher) Close ¶
func (rw *RecursiveWatcher) Close() error
func (*RecursiveWatcher) Run ¶
func (rw *RecursiveWatcher) Run(debug bool)
Click to show internal directories.
Click to hide internal directories.