mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-05 16:28:49 +01:00
♻️ 重命名重建索引函数
This commit is contained in:
parent
e2e929538b
commit
67ff76c605
6 changed files with 11 additions and 11 deletions
|
|
@ -240,7 +240,7 @@ func CheckoutRepo(id string) (err error) {
|
|||
return
|
||||
}
|
||||
|
||||
RefreshFileTree()
|
||||
FullReindex()
|
||||
if syncEnabled {
|
||||
func() {
|
||||
time.Sleep(5 * time.Second)
|
||||
|
|
@ -616,7 +616,7 @@ func syncRepo(boot, exit, byHand bool) (err error) {
|
|||
cache.ClearDocsIAL() // 同步后文档树文档图标没有更新 https://github.com/siyuan-note/siyuan/issues/4939
|
||||
|
||||
if needFullReindex(upsertTrees) { // 改进同步后全量重建索引判断 https://github.com/siyuan-note/siyuan/issues/5764
|
||||
RefreshFileTree()
|
||||
FullReindex()
|
||||
return
|
||||
}
|
||||
incReindex(upserts, removes)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue