添加文件缓存
This commit is contained in:
1 parent
e8b91b1a59
commit
133424f5f8
7 files changed
+169
-34
No files matched your search
@@ -7,8 +7,10 @@
|
||||
#include "seafile/api/repo_entry.hpp"
|
||||
#include <string>
|
||||
|
||||
namespace seafile::fs::storage {
|
||||
struct RepoEntry final {
|
||||
namespace seafile::fs::storage
|
||||
{
|
||||
struct RepoEntry final
|
||||
{
|
||||
///repo id
|
||||
std::string repo_id;
|
||||
|
||||
@@ -56,6 +58,9 @@ namespace seafile::fs::storage {
|
||||
|
||||
/// Whether the entry is starred by the current user.
|
||||
std::optional<bool> starred{};
|
||||
|
||||
static auto from_api_model(const std::string& repo_id, const std::string& path,
|
||||
const api::RepoEntry& entry) -> RepoEntry;
|
||||
};
|
||||
}
|
||||
#endif //SEADISK_STORAGE_REPO_ENTRY_HPP
|
||||
Reference in new issue
Block a user