lib/fs: Watcher should react to xattr-only events on Darwin
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user