lib/model: Emit LocalDiskUpdated events on detecting local changes

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3055
This commit is contained in:
Nate Morrison authored and Jakob Borg committed 2016-05-19 00:19:26 +00:00
1 parent 22280db5db
commit 86ca58e2a9
7 files changed
+85 -15

No files matched your search

+1 -1
View File
@@ -98,7 +98,7 @@ func (v Vector) GreaterEqual(b Vector) bool {
return comp == Greater || comp == Equal
}
// Concurrent returns true when the two vectors are concrurrent.
// Concurrent returns true when the two vectors are concurrent.
func (v Vector) Concurrent(b Vector) bool {
comp := v.Compare(b)
return comp == ConcurrentGreater || comp == ConcurrentLesser