userver: userver/fs/file_info_with_data.hpp Source File
Loading...
Searching...
No Matches
file_info_with_data.hpp
Go to the documentation of this file.
1#pragma once
2
3/// @file userver/fs/file_info_with_data.hpp
4/// @brief data structures to store file info with load data
5
6#include <memory>
7#include <string>
8#include <unordered_map>
9
10USERVER_NAMESPACE_BEGIN
11
12/// @brief filesystem support
13namespace fs {
14
15/// @brief Struct file with load data
17 std::string data;
18 std::string extension;
19};
20
21using FileInfoWithDataConstPtr = std::shared_ptr<const FileInfoWithData>;
22using FileInfoWithDataMap = std::unordered_map<std::string, FileInfoWithDataConstPtr>;
23
24} // namespace fs
25
26USERVER_NAMESPACE_END