Quellcode durchsuchen

lib/fs: Watcher should react to xattr-only events on Darwin

Jakob Borg vor 1 Jahr
Ursprung
Commit
d6b5676603
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      lib/fs/basicfs_watch_eventtypes_darwin.go

+ 1 - 1
lib/fs/basicfs_watch_eventtypes_darwin.go

@@ -12,7 +12,7 @@ package fs
 import "github.com/syncthing/notify"
 
 const (
-	subEventMask = notify.Create | notify.Remove | notify.Write | notify.Rename | notify.FSEventsInodeMetaMod
+	subEventMask = notify.Create | notify.Remove | notify.Write | notify.Rename | notify.FSEventsInodeMetaMod | notify.FSEventsXattrMod
 	// FSEventsChangeOwner fires on permission change
 	permEventMask = notify.FSEventsChangeOwner
 	rmEventMask   = notify.Remove | notify.Rename