重新组织项目结构
This commit is contained in:
1 parent
28206cd50e
commit
4d7dde104d
15 files changed
+59
-83
No files matched your search
@@ -0,0 +1,32 @@
|
||||
//
|
||||
// Created by Shell on 2026-06-18.
|
||||
//
|
||||
|
||||
#ifndef SEADISK_DEFAULT_REPO_HPP
|
||||
#define SEADISK_DEFAULT_REPO_HPP
|
||||
#include <optional>
|
||||
#include <string>
|
||||
#include <nlohmann/json.hpp>
|
||||
|
||||
namespace seafile
|
||||
{
|
||||
/**
|
||||
* default repo response
|
||||
*/
|
||||
struct DefaultRepo final
|
||||
{
|
||||
/**
|
||||
* indicates if default repo exists
|
||||
*/
|
||||
bool exists = false;
|
||||
|
||||
/**
|
||||
* default repo id
|
||||
*/
|
||||
std::optional<std::string> repo_id;
|
||||
|
||||
NLOHMANN_DEFINE_TYPE_INTRUSIVE_WITH_DEFAULT(DefaultRepo, exists, repo_id);
|
||||
};
|
||||
}
|
||||
|
||||
#endif //SEADISK_DEFAULT_REPO_HPP
|
||||
Reference in new issue
Block a user