Show folders scanned instead of files scanned

This commit is contained in:
Deluan
2020-11-16 00:33:17 -05:00
parent be715c3696
commit a1dcb9a4e3
11 changed files with 60 additions and 30 deletions
+3 -2
View File
@@ -7,8 +7,9 @@ type Event interface {
}
type ScanStatus struct {
Scanning bool `json:"scanning"`
Count int64 `json:"count"`
Scanning bool `json:"scanning"`
Count int64 `json:"count"`
FolderCount int64 `json:"folderCount"`
}
func (s ScanStatus) EventName() string { return "scanStatus" }