![]() |
Sunshine latest
Self-hosted game stream host for Moonlight.
|
Declarations for file handling functions. More...
#include <string>
Go to the source code of this file.
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. | |
Declarations for file handling functions.