mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-15 19:48:06 +01:00
🎨 数据历史文档和资源文件支持分页和搜索 https://github.com/siyuan-note/siyuan/issues/4901
This commit is contained in:
parent
f69798f91e
commit
8b137e0d6d
8 changed files with 204 additions and 18 deletions
|
|
@ -393,7 +393,7 @@ func RemoveUnusedAssets() (ret []string) {
|
|||
ret = []string{}
|
||||
unusedAssets := UnusedAssets()
|
||||
|
||||
historyDir, err := util.GetHistoryDir("clean")
|
||||
historyDir, err := GetHistoryDir(HistoryOpClean)
|
||||
if nil != err {
|
||||
logging.LogErrorf("get history dir failed: %s", err)
|
||||
return
|
||||
|
|
@ -428,7 +428,7 @@ func RemoveUnusedAsset(p string) (ret string) {
|
|||
return p
|
||||
}
|
||||
|
||||
historyDir, err := util.GetHistoryDir("clean")
|
||||
historyDir, err := GetHistoryDir(HistoryOpClean)
|
||||
if nil != err {
|
||||
logging.LogErrorf("get history dir failed: %s", err)
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue