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
5
6
#include <cstddef>
7
#include <limits>
8
#include <string>
9
10
#include <
userver/engine/task/task_processor_fwd.hpp
>
11
#include <
userver/fs/file_info_with_data.hpp
>
12
#include <
userver/fs/path_utils.hpp
>
13
#include <
userver/fs/settings_read_file.hpp
>
14
15
USERVER_NAMESPACE_BEGIN
16
18
namespace
fs
{
19
28
FileInfoWithDataMap
ReadRecursiveFilesInfoWithData
(
29
engine::TaskProcessor& async_tp,
30
const
std::string& path,
31
SettingReadFileFlags flags = {
SettingsReadFile::kSkipHidden
},
32
std::size_t max_size_to_cache = std::numeric_limits<std::size_t>::max()
33
);
34
40
std::string
ReadFileContents
(engine::TaskProcessor& async_tp,
const
std::string& path);
41
47
bool
FileExists
(engine::TaskProcessor& async_tp,
const
std::string& path);
48
49
}
// namespace fs
50
51
USERVER_NAMESPACE_END
userver
fs
read.hpp
Generated on
for userver by
Doxygen
1.17.0