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

Detailed Description

functions for synchronous (blocking) file read operations

Definition in file read.hpp.

Go to the source code of this file.

Namespaces

namespace  fs
 filesystem support
 
namespace  fs::blocking
 blocking function and classes to work with filesystem
 

Functions

std::string fs::blocking::ReadFileContents (utils::zstring_view path)
 Reads file contents synchronously.
 
bool fs::blocking::FileExists (utils::zstring_view path)
 Checks whether the file exists synchronously.
 
boost::filesystem::file_type fs::blocking::GetFileType (utils::zstring_view path)
 Get file type returned by stat(2) synchronously.
 
FileInfoWithDataMap fs::blocking::ReadRecursiveFilesInfoWithData (utils::zstring_view path, SettingReadFileFlags flags)
 Returns files from recursively traversed directory.