mirror of
https://github.com/syncthing/notify.git
synced 2026-06-07 08:57:32 +00:00
@@ -7,11 +7,9 @@ type notifier interface {
|
||||
Stop(chan<- EventInfo)
|
||||
}
|
||||
|
||||
func newNotifier(w watcher, c <-chan EventInfo) notifier {
|
||||
func newNotifier(w watcher, c chan EventInfo) notifier {
|
||||
if rw, ok := w.(recursiveWatcher); ok {
|
||||
// return NewRecursiveTree(rw, c)
|
||||
_ = rw // TODO
|
||||
return newTree(w, c)
|
||||
return newRecursiveTree(rw, c)
|
||||
}
|
||||
return newTree(w, c)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user