mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
🎨 Automatically loads and indexes from the file system when a block is not found https://github.com/siyuan-note/siyuan/issues/10772
This commit is contained in:
parent
2d04decf7e
commit
5bc96e05aa
1 changed files with 0 additions and 1 deletions
|
|
@ -225,6 +225,5 @@ func searchTreeInFilesystem(rootID string) {
|
||||||
|
|
||||||
treenode.IndexBlockTree(tree)
|
treenode.IndexBlockTree(tree)
|
||||||
sql.IndexTreeQueue(tree)
|
sql.IndexTreeQueue(tree)
|
||||||
sql.WaitForWritingDatabase()
|
|
||||||
logging.LogInfof("reindexed tree by filesystem [rootID=%s]", rootID)
|
logging.LogInfof("reindexed tree by filesystem [rootID=%s]", rootID)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue