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

This commit is contained in:
Jakob Borg 2024-05-23 09:39:10 +02:00
parent 3821b6ceee
commit d6b5676603

View File

@ -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