mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🔥 移除旧版云端同步和备份功能入口 https://github.com/siyuan-note/siyuan/issues/5405
This commit is contained in:
parent
8e7fafbdfe
commit
51230a99c3
22 changed files with 63 additions and 177 deletions
|
|
@ -261,7 +261,7 @@ func (box *Box) Mkdir(path string) error {
|
|||
util.LogErrorf("mkdir [path=%s] in box [%s] failed: %s", path, box.ID, err)
|
||||
return errors.New(msg)
|
||||
}
|
||||
IncWorkspaceDataVer()
|
||||
IncSync()
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
@ -271,7 +271,7 @@ func (box *Box) MkdirAll(path string) error {
|
|||
util.LogErrorf("mkdir all [path=%s] in box [%s] failed: %s", path, box.ID, err)
|
||||
return errors.New(msg)
|
||||
}
|
||||
IncWorkspaceDataVer()
|
||||
IncSync()
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
@ -292,7 +292,7 @@ func (box *Box) Move(oldPath, newPath string) error {
|
|||
os.Remove(fromDir)
|
||||
}
|
||||
}
|
||||
IncWorkspaceDataVer()
|
||||
IncSync()
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
@ -305,7 +305,7 @@ func (box *Box) Remove(path string) error {
|
|||
util.LogErrorf("remove [path=%s] in box [%s] failed: %s", path, box.ID, err)
|
||||
return errors.New(msg)
|
||||
}
|
||||
IncWorkspaceDataVer()
|
||||
IncSync()
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue