#include "util/file_util.h"#include <filesystem>#include <fstream>#include <sstream>#include "core/features.h"#include "util/platform_paths.h"Go to the source code of this file.
Namespaces | |
| namespace | yaze |
| Main namespace for the application. | |
| namespace | yaze::util |
Functions | |
| std::string | yaze::util::GetFileExtension (const std::string &filename) |
| Gets the file extension from a filename. | |
| std::string | yaze::util::GetFileName (const std::string &filename) |
| Gets the filename from a full path. | |
| std::string | yaze::util::LoadFile (const std::string &filename) |
| Loads the entire contents of a file into a string. | |
| std::string | yaze::util::LoadFileFromConfigDir (const std::string &filename) |
| Loads a file from the user's config directory. | |
| void | yaze::util::SaveFile (const std::string &filename, const std::string &contents) |
| std::string | yaze::util::GetResourcePath (const std::string &resource_path) |