添加缓存

This commit is contained in:
shell committed 2026-07-13 23:53:11 +08:00
1 parent 4d7dde104d
commit fb63205a70
4 files changed
+132 -7

No files matched your search

@@ -9,6 +9,7 @@
#include "../api/seafile_api.hpp"
#include "../api/token_type.hpp"
#include "seafile/cache/cache.hpp"
namespace seafile::fs
{
@@ -19,6 +20,8 @@ namespace seafile::fs
TokenType token_type = TokenType::TOKEN;
SeaFileApi api;
std::wstring volume_label;
cache::Cache<std::string,std::vector<RepoEntry>> repo_dir_cache{};
public:
explicit SeafileFileSystem(const std::string& server,