mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-17 10:35:11 +00:00
lib/fs: Watcher should react to xattr-only events on Darwin
This commit is contained in:
parent
3821b6ceee
commit
d6b5676603
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user