Sunshine latest
Self-hosted game stream host for Moonlight.
file_handler.h File Reference

Declarations for file handling functions. More...

#include <string>
Include dependency graph for file_handler.h:
This graph shows which files directly or indirectly include this file:

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.
 

Detailed Description

Declarations for file handling functions.