Browse Source

:art: 改进块树数据存取 https://github.com/siyuan-note/siyuan/issues/7168

Liang Ding 2 years ago
parent
commit
fd5538a7b0
1 changed files with 0 additions and 5 deletions
  1. 0 5
      kernel/treenode/blocktree.go

+ 0 - 5
kernel/treenode/blocktree.go

@@ -472,11 +472,6 @@ func InitBlockTree(force bool) {
 }
 
 func SaveBlockTree(force bool) {
-	if force {
-
-		return
-	}
-
 	start := time.Now()
 	os.MkdirAll(util.BlockTreePath, 0755)