Ark Server API (ASA) - Wiki
|
Functions | |
std::string | calculateSHA256 (const std::filesystem::path &filename) |
void | saveToFile (const std::filesystem::path &filename, const std::string &content) |
std::string | readFromFile (const std::filesystem::path &filename) |
void | saveToFilePlain (const std::filesystem::path &filename, const std::unordered_map< std::string, intptr_t > &map) |
std::unordered_set< std::string > | readFileIntoSet (const std::filesystem::path &filename) |
template<typename T > | |
void | serializeMap (const std::unordered_map< std::string, T > &data, const std::filesystem::path &filename) |
template<typename T > | |
std::unordered_map< std::string, T > | deserializeMap (const std::filesystem::path &filename) |
Variables | |
static const std::unordered_set< std::string > | default_filters |
std::string Cache::calculateSHA256 | ( | const std::filesystem::path & | filename | ) |
std::unordered_set< std::string > Cache::readFileIntoSet | ( | const std::filesystem::path & | filename | ) |
std::string Cache::readFromFile | ( | const std::filesystem::path & | filename | ) |