Просмотр исходного кода

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

Simon Frei 7 лет назад
Родитель
Сommit
409cb2beb8
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      lib/fs/basicfs_watch_eventtypes_readdcw.go

+ 1 - 1
lib/fs/basicfs_watch_eventtypes_readdcw.go

@@ -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
 )