lib/fs: Catch size-preserving changes on windows (fixes #5050) (#5056)

This commit is contained in:
Simon Frei 2018-07-09 19:29:22 +02:00 committed by Audrius Butkevicius
parent 742ab17a2a
commit 409cb2beb8
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ package fs
import "github.com/syncthing/notify"
const (
subEventMask = notify.FileNotifyChangeFileName | notify.FileNotifyChangeDirName | notify.FileNotifyChangeSize | notify.FileNotifyChangeCreation
subEventMask = notify.FileNotifyChangeFileName | notify.FileNotifyChangeDirName | notify.FileNotifyChangeSize | notify.FileNotifyChangeCreation | notify.FileNotifyChangeLastWrite
permEventMask = notify.FileNotifyChangeAttributes
rmEventMask = notify.FileActionRemoved | notify.FileActionRenamedOldName
)