// BatchAdd adds multiple paths to watcher.
BatchAdd adds multiple paths to watcher.
// BatchAdd adds multiple paths to watcher .
func (w *Watcher) BatchAdd(paths []string) {
	for _, path := range paths {
		w.AddToWatchList(path)
		log.WithField("path", path).Info("New path added to watcher!")
	}
}
func ( w * Watcher ) BatchAdd ( paths [ ] string ) { for _ , path := range paths { w . AddToWatchList ( path ) log . WithField ( " " , path ) . Info ( " " ) } }
BatchAdd adds multiple paths to watcher.
BatchAdd adds multiple paths to watcher .