mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-17 18:45:13 +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"
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user