userver: userver/fs/read.hpp File Reference
Loading...
Searching...
No Matches
read.hpp File Reference

Detailed Description

functions for asynchronous file read operations

Definition in file read.hpp.

Go to the source code of this file.

#include <cstddef>
#include <limits>
#include <string>
#include <userver/engine/task/task_processor_fwd.hpp>
#include <userver/fs/file_info_with_data.hpp>
#include <userver/fs/path_utils.hpp>
#include <userver/fs/settings_read_file.hpp>
This graph shows which files directly or indirectly include this file:

Namespaces

namespace  fs
 filesystem support

Functions

FileInfoWithDataMap fs::ReadRecursiveFilesInfoWithData (engine::TaskProcessor &async_tp, const std::string &path, SettingReadFileFlags flags={SettingsReadFile::kSkipHidden}, std::size_t max_size_to_cache=std::numeric_limits< std::size_t >::max())
 Returns files from recursively traversed directory.
std::string fs::ReadFileContents (engine::TaskProcessor &async_tp, const std::string &path)
 Reads file contents asynchronously.
bool fs::FileExists (engine::TaskProcessor &async_tp, const std::string &path)
 Checks whether the file exists asynchronously.