![]() |
Sunshine latest
Self-hosted game stream host for Moonlight.
|
Definitions for file handling functions. More...
Namespaces | |
namespace | file_handler |
Responsible for file handling functions. | |
Functions | |
std::string | file_handler::get_parent_directory (const std::string &path) |
Get the parent directory of a file or directory. | |
bool | file_handler::make_directory (const std::string &path) |
Make a directory. | |
std::string | file_handler::read_file (const char *path) |
Read a file to string. | |
int | file_handler::write_file (const char *path, const std::string_view &contents) |
Writes a file. | |
Definitions for file handling functions.