userver
C++ Async Framework
Toggle main menu visibility
Loading...
Searching...
No Matches
read.hpp
Go to the documentation of this file.
1
#pragma once
2
6
7
#include <cstddef>
8
#include <filesystem>
9
#include <limits>
10
11
#include <
userver/fs/file_info_with_data.hpp
>
12
#include <
userver/fs/settings_read_file.hpp
>
13
#include <
userver/utils/zstring_view.hpp
>
14
15
USERVER_NAMESPACE_BEGIN
16
23
namespace
fs::blocking
{
24
30
std::string
ReadFileContents
(
utils::zstring_view
path);
31
37
bool
FileExists
(
utils::zstring_view
path);
38
42
std::filesystem::file_type
GetFileType
(
utils::zstring_view
path);
43
52
FileInfoWithDataMap
ReadRecursiveFilesInfoWithData
(
53
utils::zstring_view
path,
54
SettingReadFileFlags flags,
55
std::size_t max_size_to_cache = std::numeric_limits<std::size_t>::max()
56
);
57
58
}
// namespace fs::blocking
59
60
USERVER_NAMESPACE_END
userver
fs
blocking
read.hpp
Generated on
for userver by
Doxygen
1.17.0