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"
|
import "github.com/syncthing/notify"
|
||||||
|
|
||||||
const (
|
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
|
// FSEventsChangeOwner fires on permission change
|
||||||
permEventMask = notify.FSEventsChangeOwner
|
permEventMask = notify.FSEventsChangeOwner
|
||||||
rmEventMask = notify.Remove | notify.Rename
|
rmEventMask = notify.Remove | notify.Rename
|
||||||
|
|||||||
Reference in New Issue
Block a user