mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00: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) {
|
||||
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…
Add table
Add a link
Reference in a new issue