语法问题修复

This commit is contained in:
shell committed 2026-08-02 21:31:46 +08:00
1 parent 45060f03b6
commit ff5917ffbd
3 files changed
+9 -11

No files matched your search

+2 -4
View File
@@ -301,8 +301,7 @@ namespace seafile::fs
return this->sync();
}
tl::expected<void, api::SeafileException> SeafileStore::syncUserInfo()
{
tl::expected<void, api::SeafileException> SeafileStore::syncUserInfo() const {
const auto user_info = this->api.accountInfo();
if (!user_info)
{
@@ -388,8 +387,7 @@ namespace seafile::fs
}
tl::expected<void, api::SeafileException> SeafileStore::fetchAndStoreRepoDir(
const std::string& repo_id, const std::string& parent_path)
{
const std::string& repo_id, const std::string& parent_path) const {
const auto entries = this->api.repoDir(repo_id, parent_path);
if (!entries)
{