An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: Data sync may cause data loss on Android 14 https://github.com/siyuan-note/siyuan/issues/10323
Daniel7269b646e7e6
diff --git a/kernel/model/index_fix.go b/kernel/model/index_fix.goindex d610691041..db58ccbe17 100644--- a/kernel/model/index_fix.go+++ b/kernel/model/index_fix.go@@ -161,7 +161,7 @@ func resetDuplicateBlocksOnFileSys() {if info.IsDir() {if boxPath == path {- // 跳过根路径(笔记本文件夹)+ // 跳过笔记本文件夹return nil}@@ -172,14 +172,6 @@ func resetDuplicateBlocksOnFileSys() {if !ast.IsNodeIDPattern(info.Name()) {return nil}-- if util.IsEmptyDir(path) {- // 删除空的子文档文件夹- if removeErr := filelock.Remove(path); nil != removeErr {- logging.LogErrorf("remove empty folder failed: %s", removeErr)- }- return nil- }return nil}