mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-03 15:28:49 +01:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
fd2251348a
1 changed files with 4 additions and 4 deletions
|
|
@ -69,18 +69,18 @@ func generateDocHistory() {
|
|||
historyDir := util.HistoryDir
|
||||
clearOutdatedHistoryDir(historyDir)
|
||||
|
||||
// 以下部分是老版本的清理逻辑,暂时保留
|
||||
// 以下部分是老版本的历史数据,不再保留
|
||||
|
||||
for _, box := range Conf.GetBoxes() {
|
||||
historyDir = filepath.Join(util.DataDir, box.ID, ".siyuan", "history")
|
||||
clearOutdatedHistoryDir(historyDir)
|
||||
os.RemoveAll(historyDir)
|
||||
}
|
||||
|
||||
historyDir = filepath.Join(util.DataDir, "assets", ".siyuan", "history")
|
||||
clearOutdatedHistoryDir(historyDir)
|
||||
os.RemoveAll(historyDir)
|
||||
|
||||
historyDir = filepath.Join(util.DataDir, ".siyuan", "history")
|
||||
clearOutdatedHistoryDir(historyDir)
|
||||
os.RemoveAll(historyDir)
|
||||
}
|
||||
|
||||
func ChangeHistoryTick(minutes int) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue