From 302b1b8c180386b0986b75b230de1dc105dd3ae9 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Thu, 14 Jul 2022 22:18:11 +0800 Subject: [PATCH] =?UTF-8?q?:fire:=20=E5=88=A0=E9=99=A4=E5=86=97=E4=BD=99?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/conf/sync.go | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/kernel/conf/sync.go b/kernel/conf/sync.go index 47e4bb5fc..dd4919814 100644 --- a/kernel/conf/sync.go +++ b/kernel/conf/sync.go @@ -23,13 +23,11 @@ import ( ) type Sync struct { - CloudName string `json:"cloudName"` // 云端同步目录名称 - Enabled bool `json:"enabled"` // 是否开启同步 - Mode int `json:"mode"` // 同步模式,0:未设置(为兼容已有配置,initConf 函数中会转换为 1),1:自动,2:手动 https://github.com/siyuan-note/siyuan/issues/5089 - Uploaded int64 `json:"uploaded"` // 最近上传时间 - Downloaded int64 `json:"downloaded"` // 最近下载时间 - Synced int64 `json:"synced"` // 最近同步时间 - Stat string `json:"stat"` // 最近同步统计信息 + CloudName string `json:"cloudName"` // 云端同步目录名称 + Enabled bool `json:"enabled"` // 是否开启同步 + Mode int `json:"mode"` // 同步模式,0:未设置(为兼容已有配置,initConf 函数中会转换为 1),1:自动,2:手动 https://github.com/siyuan-note/siyuan/issues/5089 + Synced int64 `json:"synced"` // 最近同步时间 + Stat string `json:"stat"` // 最近同步统计信息 } func NewSync() *Sync {