From 218a053c9fb115b0f7c06cb2181e8b8383c6643b Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Sun, 28 Aug 2022 00:24:33 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E9=80=80=E5=87=BA=E6=97=B6=E6=B8=85?= =?UTF-8?q?=E7=90=86=E5=B7=A5=E4=BD=9C=E7=A9=BA=E9=97=B4=E4=B8=B4=E6=97=B6?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/model/conf.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/model/conf.go b/kernel/model/conf.go index 6d602a703..07e695006 100644 --- a/kernel/model/conf.go +++ b/kernel/model/conf.go @@ -541,6 +541,8 @@ func clearWorkspaceTemp() { os.RemoveAll(filepath.Join(util.TempDir, "bazaar")) os.RemoveAll(filepath.Join(util.TempDir, "export")) os.RemoveAll(filepath.Join(util.TempDir, "import")) + os.RemoveAll(filepath.Join(util.TempDir, "repo")) + os.RemoveAll(filepath.Join(util.TempDir, "os")) os.RemoveAll(filepath.Join(util.WorkspaceDir, "incremental")) // `工作空间/incremental/` 文件夹移动到 `工作空间/temp/incremental/` https://github.com/siyuan-note/siyuan/issues/5119 tmps, err := filepath.Glob(filepath.Join(util.TempDir, "*.tmp"))