mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 15:10:12 +01:00
🔥 移除冗余代码
This commit is contained in:
parent
8f8f2b6100
commit
5b9f2c3cb1
3 changed files with 2 additions and 61 deletions
|
|
@ -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")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue