mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
🎨 支持列出和切换最近打开的文档 https://github.com/siyuan-note/siyuan/issues/3293
This commit is contained in:
parent
72419c9075
commit
bcf3422080
2 changed files with 4 additions and 3 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue