Files
seadisk/include/seafile/fs/file_context.hpp
T
2026-06-27 18:37:37 +08:00

33 lines
458 B
C++

//
// Created by Shell on 2026-06-18.
//
#ifndef SEADISK_FILE_CONTEXT_HPP
#define SEADISK_FILE_CONTEXT_HPP
#include <string>
namespace seafile::fs
{
struct SeaFileContext final
{
enum class Type
{
FILE,
DIRECTORY,
};
std::string repo_id;
std::string path;
Type type;
uint64_t size{};
std::string download_url;
};
}
#endif //SEADISK_FILE_CONTEXT_HPP