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/6858

Liang Ding41c9db00697c
diff --git a/kernel/model/repository.go b/kernel/model/repository.go
index 15ab0524c1..7c198da27e 100644
--- a/kernel/model/repository.go
+++ b/kernel/model/repository.go
@@ -135,8 +135,8 @@ type LeftRightDiff struct {
}
type DiffFile struct {
- FileID string
- Title string
+ FileID string `json:"fileID"`
+ Title string `json:"title"`
}
func DiffRepoSnapshots(left, right string) (ret *LeftRightDiff, err error) {