mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 15:10:12 +01:00
♻️ Rename func
This commit is contained in:
parent
a46324df77
commit
d4a7d9765b
1 changed files with 2 additions and 2 deletions
|
|
@ -1672,7 +1672,7 @@ type Sync struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func GetCloudSpace() (s *Sync, b *Backup, hSize, hAssetSize, hTotalSize, hExchangeSize, hTrafficUploadSize, hTrafficDownloadSize, hTrafficAPIGet, hTrafficAPIPut string, err error) {
|
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 {
|
if nil != err {
|
||||||
err = errors.New(Conf.Language(30) + " " + err.Error())
|
err = errors.New(Conf.Language(30) + " " + err.Error())
|
||||||
return
|
return
|
||||||
|
|
@ -1719,7 +1719,7 @@ func GetCloudSpace() (s *Sync, b *Backup, hSize, hAssetSize, hTotalSize, hExchan
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
func getCloudSpaceOSS() (stat *cloud.Stat, err error) {
|
func getCloudSpace() (stat *cloud.Stat, err error) {
|
||||||
repo, err := newRepository()
|
repo, err := newRepository()
|
||||||
if nil != err {
|
if nil != err {
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue