make recently added persistent

This commit is contained in:
sentriz
2019-07-08 21:54:20 +01:00
parent 97b9837910
commit f2ac3b2cdf
7 changed files with 23 additions and 41 deletions

View File

@@ -264,6 +264,7 @@ func (s *Scanner) handleFolder(it *item) error {
folder.LeftPath = it.directory
folder.RightPath = it.filename
folder.RightPathUDec = decoded(it.filename)
folder.ModifiedAt = it.stat.ModTime()
s.db.Save(folder)
folder.ReceivedPaths = true
return nil