userver
C++ Async Framework
Toggle main menu visibility
Loading...
Searching...
No Matches
file_info_with_data.hpp
Go to the documentation of this file.
1
#pragma once
2
5
6
#include <filesystem>
7
#include <memory>
8
#include <string>
9
#include <unordered_map>
10
#include <variant>
11
12
USERVER_NAMESPACE_BEGIN
13
15
namespace
fs
{
16
21
struct
FileInfoWithData
{
23
std::variant<std::string, std::filesystem::path>
data_or_path
;
24
std::string extension;
25
};
26
27
using
FileInfoWithDataConstPtr = std::shared_ptr<const FileInfoWithData>;
28
using
FileInfoWithDataMap = std::unordered_map<std::string, FileInfoWithDataConstPtr>;
29
30
}
// namespace fs
31
32
USERVER_NAMESPACE_END
userver
fs
file_info_with_data.hpp
Generated on
for userver by
Doxygen
1.17.0