🔥 移除冗余代码

This commit is contained in:
Liang Ding 2022-07-19 01:05:05 +08:00
parent 8f8f2b6100
commit 5b9f2c3cb1
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
3 changed files with 2 additions and 61 deletions

View file

@ -16,12 +16,6 @@
package conf
import (
"path/filepath"
"github.com/siyuan-note/siyuan/kernel/util"
)
type Sync struct {
CloudName string `json:"cloudName"` // 云端同步目录名称
Enabled bool `json:"enabled"` // 是否开启同步
@ -37,7 +31,3 @@ func NewSync() *Sync {
Mode: 1,
}
}
func (s *Sync) GetSaveDir() string {
return filepath.Join(util.WorkspaceDir, "sync")
}