mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-21 03:21:21 +08:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
1fe22e15f4
@ -1672,7 +1672,7 @@ type Sync struct {
|
||||
}
|
||||
|
||||
func GetCloudSpace() (s *Sync, b *Backup, hSize, hAssetSize, hTotalSize, hExchangeSize, hTrafficUploadSize, hTrafficDownloadSize, hTrafficAPIGet, hTrafficAPIPut string, err error) {
|
||||
stat, err := getCloudSpaceOSS()
|
||||
stat, err := getCloudSpace()
|
||||
if nil != err {
|
||||
err = errors.New(Conf.Language(30) + " " + err.Error())
|
||||
return
|
||||
@ -1719,7 +1719,7 @@ func GetCloudSpace() (s *Sync, b *Backup, hSize, hAssetSize, hTotalSize, hExchan
|
||||
return
|
||||
}
|
||||
|
||||
func getCloudSpaceOSS() (stat *cloud.Stat, err error) {
|
||||
func getCloudSpace() (stat *cloud.Stat, err error) {
|
||||
repo, err := newRepository()
|
||||
if nil != err {
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user