mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
🎨 支持多设备操作不同文档后云端同步合并 https://github.com/siyuan-note/siyuan/issues/5092
This commit is contained in:
parent
2dfad9d996
commit
0a1fcd7910
1 changed files with 3 additions and 0 deletions
|
|
@ -205,6 +205,9 @@ func ossDownload(isBackup bool, localDirPath, cloudDirPath string, bootOrExit bo
|
||||||
var tmpWroteFiles int
|
var tmpWroteFiles int
|
||||||
var tmpTransferSize uint64
|
var tmpTransferSize uint64
|
||||||
for upsert, _ := range upsertList {
|
for upsert, _ := range upsertList {
|
||||||
|
if "/.siyuan/conf.json" == upsert { // 版本号不覆盖云端
|
||||||
|
continue
|
||||||
|
}
|
||||||
localUpsert := filepath.Join(localDirPath, upsert)
|
localUpsert := filepath.Join(localDirPath, upsert)
|
||||||
var info os.FileInfo
|
var info os.FileInfo
|
||||||
info, err = os.Stat(localUpsert)
|
info, err = os.Stat(localUpsert)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue