Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: 优化云端同步资源占用 https://github.com/siyuan-note/siyuan/issues/5093

Liang Ding5b07123d4fdd
diff --git a/kernel/model/sync.go b/kernel/model/sync.go
index 42a9657718..fc267d2be6 100644
--- a/kernel/model/sync.go
+++ b/kernel/model/sync.go
@@ -625,6 +625,7 @@ type CloudIndex struct {
func genCloudIndex(localDirPath string, excludes map[string]bool) (err error) {
cloudIndex := map[string]*CloudIndex{}
+ // TODO: 优化云端同步资源占用 https://github.com/siyuan-note/siyuan/issues/5093
err = filepath.Walk(localDirPath, func(path string, info fs.FileInfo, err error) error {
if nil != err {
return err