Explorar o código

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

Liang Ding %!s(int64=2) %!d(string=hai) anos
pai
achega
fd5538a7b0
Modificáronse 1 ficheiros con 0 adicións e 5 borrados
  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)