diff options
author | Jakob Borg <jakob@kastelo.net> | 2024-05-23 09:39:10 +0200 |
---|---|---|
committer | Jakob Borg <jakob@kastelo.net> | 2024-05-23 09:39:10 +0200 |
commit | d6b5676603c4325874345ce07fb3ef07c403dd32 (patch) | |
tree | acc735c1fc1301a686a91fb03f61b0cc8d0edd62 | |
parent | 3821b6ceee2767dd12bea21a59ea82676e8a5305 (diff) |
lib/fs: Watcher should react to xattr-only events on Darwin
-rw-r--r-- | lib/fs/basicfs_watch_eventtypes_darwin.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fs/basicfs_watch_eventtypes_darwin.go b/lib/fs/basicfs_watch_eventtypes_darwin.go index 1b68f1d174..f7ca0e0081 100644 --- a/lib/fs/basicfs_watch_eventtypes_darwin.go +++ b/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 |