♻️ 重命名重建索引函数

This commit is contained in:
Liang Ding 2022-09-16 19:45:46 +08:00
parent e2e929538b
commit 67ff76c605
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
6 changed files with 11 additions and 11 deletions

View file

@ -483,10 +483,10 @@ func ReindexTree(path string) (err error) {
return
}
func RefreshFileTree() {
func FullReindex() {
util.PushEndlessProgress(Conf.Language(35))
WaitForWritingFiles()
util.PushEndlessProgress(Conf.Language(35))
if err := sql.InitDatabase(true); nil != err {
util.PushErrMsg(fmt.Sprintf(Conf.Language(85), err), 5000)
return