Jelajahi Sumber

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

Simon Frei 7 tahun lalu
induk
melakukan
409cb2beb8
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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
 )