ArkScript
A small, fast, functional and scripting language for video games
|
Lots of utilities about the filesystem. More...
#include <string>
#include <vector>
#include <fstream>
#include <filesystem>
Go to the source code of this file.
Namespaces | |
namespace | Ark |
namespace | Ark::Utils |
Functions | |
bool | Ark::Utils::fileExists (const std::string &name) noexcept |
Checks if a file exists. | |
std::string | Ark::Utils::readFile (const std::string &name) |
Helper to read a file. | |
std::vector< uint8_t > | Ark::Utils::readFileAsBytes (const std::string &name) |
std::string | Ark::Utils::canonicalRelPath (const std::string &path) |
Get the canonical relative path from a path. | |
Lots of utilities about the filesystem.
Definition in file Files.hpp.