🎨 数据历史文档中支持操作类型过滤 https://github.com/siyuan-note/siyuan/issues/5754

This commit is contained in:
Liang Ding 2022-08-30 00:24:54 +08:00
parent 72b3f151a6
commit a807e47d63
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
4 changed files with 17 additions and 17 deletions

View file

@ -419,6 +419,8 @@ func RemoveUnusedAssets() (ret []string) {
if 0 < len(ret) {
IncSync()
}
indexHistoryDir(filepath.Base(historyDir), NewLute())
return
}
@ -445,6 +447,8 @@ func RemoveUnusedAsset(p string) (ret string) {
}
ret = p
IncSync()
indexHistoryDir(filepath.Base(historyDir), NewLute())
return
}