- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for NewFsnotifyWatcher (0.12 sec)
-
pkg/util/filesystem/watcher.go
eventHandler FSEventHandler errorHandler FSErrorHandler } var _ FSWatcher = &fsnotifyWatcher{} // NewFsnotifyWatcher returns an implementation of FSWatcher that continuously listens for // fsnotify events and calls the event handler as soon as an event is received. func NewFsnotifyWatcher() FSWatcher { return &fsnotifyWatcher{} } func (w *fsnotifyWatcher) AddWatch(path string) error { return w.watcher.Add(path)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 14 23:09:15 UTC 2024 - 5.7K bytes - Viewed (0)