mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 支持列出和切换最近打开的文档 https://github.com/siyuan-note/siyuan/issues/3293
This commit is contained in:
@@ -350,7 +350,8 @@ func (box *Box) Unindex() {
|
||||
sql.RemoveBoxHash(tx, box.ID)
|
||||
sql.DeleteByBoxTx(tx, box.ID)
|
||||
sql.CommitTx(tx)
|
||||
treenode.RemoveBlockTreesByBoxID(box.ID)
|
||||
ids := treenode.RemoveBlockTreesByBoxID(box.ID)
|
||||
RemoveRecentDoc(ids)
|
||||
}
|
||||
|
||||
func (box *Box) ListFiles(path string) (ret []*FileInfo) {
|
||||
|
||||
Reference in New Issue
Block a user