🔥 移除旧版云端同步和备份功能入口 https://github.com/siyuan-note/siyuan/issues/5405

This commit is contained in:
Liang Ding 2022-07-14 21:50:46 +08:00
parent 8e7fafbdfe
commit 51230a99c3
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
22 changed files with 63 additions and 177 deletions

View file

@ -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
}