|
RAVENNAKIT
|
Enumerations | |
| enum class | Error { invalid_path , file_does_not_exist , failed_to_open , failed_to_get_file_size , failed_to_read_from_file } |
Functions | |
| bool | create_if_not_exists (const std::filesystem::path &path) |
| Creates the file if it does not already exist. | |
| tl::expected< std::string, Error > | read_file_as_string (const std::filesystem::path &file) |
| Reads the contents of given file into a string. | |
|
strong |
|
inlinenodiscard |
|
inline |