all: Display list of locally changed items in UI (fixes #5336) (#5337)

This commit is contained in:
Simon Frei
2018-12-11 09:59:04 +01:00
committed by Jakob Borg
parent 1b59960ff9
commit a09079ed25
9 changed files with 144 additions and 36 deletions

View File

@@ -142,6 +142,10 @@ func (c Counts) Add(other Counts) Counts {
}
}
func (c Counts) TotalItems() int32 {
return c.Files + c.Directories + c.Symlinks + c.Deleted
}
func (vl VersionList) String() string {
var b bytes.Buffer
var id protocol.DeviceID