29 lines
421 B
C++
29 lines
421 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{};
|
|
};
|
|
}
|
|
|
|
#endif //SEADISK_FILE_CONTEXT_HPP
|