// // Created by Shell on 2026-06-18. // #ifndef SEADISK_DIR_INFO_HPP #define SEADISK_DIR_INFO_HPP #include #include namespace seafile { /** * @brief Repository directory information. */ struct DirInfo final { /// Repository identifier. std::string repo_id; /// Full directory path within the repository. std::string path; /// Directory name. std::string name; /// Last modification time in ISO 8601 format. std::string mtime; /// Current user's permission (e.g. "r", "rw"). std::string permission; NLOHMANN_DEFINE_TYPE_INTRUSIVE_WITH_DEFAULT( DirInfo, repo_id, path, name, mtime, permission) }; } #endif //SEADISK_DIR_INFO_HPP