#include <userver/fs/file_info_with_data.hpp>
Struct file with load data.
data_or_path holds either file contents (std::string) or a full path to the file (std::filesystem::path) when the file is too large to cache in memory.
Definition at line 21 of file file_info_with_data.hpp.
Public Attributes | |
| std::variant< std::string, std::filesystem::path > | data_or_path |
| std::string | extension |
| std::variant<std::string, std::filesystem::path> fs::FileInfoWithData::data_or_path |
Definition at line 22 of file file_info_with_data.hpp.
| std::string fs::FileInfoWithData::extension |
Definition at line 23 of file file_info_with_data.hpp.