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.

+ 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})
 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.