Skip to content

Commit

Permalink
🎨 S3/WebDAV data sync no longer uploads check index siyuan-note/siyua…
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed Jan 14, 2024
1 parent 951de73 commit 3a99c7a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -1062,6 +1062,11 @@ func (repo *Repo) uploadCloudMissingObjects(trafficStat *TrafficStat, context ma
}

func (repo *Repo) updateCloudCheckIndex(checkIndex *entity.CheckIndex, context map[string]interface{}) (err error) {
if _, ok := repo.cloud.(*cloud.SiYuan); !ok {
// S3/WebDAV 不上传校验索引 S3/WebDAV data sync no longer uploads check index https://github.com/siyuan-note/siyuan/issues/10180
return
}

eventbus.Publish(eventbus.EvtCloudBeforeUploadCheckIndex, context)

data, marshalErr := gulu.JSON.MarshalIndentJSON(checkIndex, "", "\t")
Expand Down

0 comments on commit 3a99c7a

Please sign in to comment.