mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-01 18:30:16 +01:00
This commit is contained in:
parent
29117c764d
commit
b371692509
4 changed files with 56 additions and 23 deletions
|
|
@ -154,6 +154,11 @@ func SyncData(boot, exit, byHand bool) {
|
|||
// 创建数据快照 https://github.com/siyuan-note/siyuan/issues/5161
|
||||
indexRepoBeforeCloudSync()
|
||||
|
||||
// 同步数据仓库
|
||||
if syncRepoErr := syncRepo(); nil != syncRepoErr {
|
||||
util.LogErrorf("sync repo failed: %s", syncRepoErr)
|
||||
}
|
||||
|
||||
// 获取工作空间数据配置(数据版本)
|
||||
dataConf, err := getWorkspaceDataConf()
|
||||
if nil != err {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue