mirror of
https://github.com/syncthing/notify.git
synced 2026-06-07 08:57:32 +00:00
Forward FSEventsUserDropped, FSEventsKernelDropped, FSEventsMustScanSubDirs
This commit is contained in:
+1
-1
@@ -129,7 +129,7 @@ func (w *watch) Dispatch(ev []FSEvent) {
|
||||
}
|
||||
dbgprintf("%v (0x%x) (%s, i=%d, ID=%d, len=%d)\n", Event(ev[i].Flags),
|
||||
ev[i].Flags, ev[i].Path, i, ev[i].ID, len(ev))
|
||||
if ev[i].Flags&failure != 0 {
|
||||
if ev[i].Flags&failure != 0 && failure&events == 0 {
|
||||
// TODO(rjeczalik): missing error handling
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user