all: Clarify 'Cleaning data for folder' log message (#7937)

Instead of data (could be read as user data), use metadata.
This commit is contained in:
jtagcat 2021-09-10 07:56:44 +00:00 committed by GitHub
parent 4868d347db
commit 0ffa7f3f57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -2765,7 +2765,7 @@ func (m *model) BringToFront(folder, file string) {
} }
func (m *model) ResetFolder(folder string) { func (m *model) ResetFolder(folder string) {
l.Infof("Cleaning data for folder %q", folder) l.Infof("Cleaning metadata for reset folder %q", folder)
db.DropFolder(m.db, folder) db.DropFolder(m.db, folder)
} }

View File

@ -206,7 +206,7 @@ func (a *App) startup() error {
folders := a.cfg.Folders() folders := a.cfg.Folders()
for _, folder := range a.ll.ListFolders() { for _, folder := range a.ll.ListFolders() {
if _, ok := folders[folder]; !ok { if _, ok := folders[folder]; !ok {
l.Infof("Cleaning data for dropped folder %q", folder) l.Infof("Cleaning metadata for dropped folder %q", folder)
db.DropFolder(a.ll, folder) db.DropFolder(a.ll, folder)
} }
} }