Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
Cache.cpp File Reference
#include "Cache.h"
#include <unordered_map>
#include <string>
#include <cstdint>
#include <filesystem>
#include <openssl/evp.h>
+ Include dependency graph for Cache.cpp:

Go to the source code of this file.

Namespaces

namespace  Cache
 

Functions

std::string Cache::calculateSHA256 (const std::filesystem::path &filename)
 
void Cache::saveToFile (const std::filesystem::path &filename, const std::string &content)
 
std::string Cache::readFromFile (const std::filesystem::path &filename)
 
void Cache::saveToFilePlain (const std::filesystem::path &filename, const std::unordered_map< std::string, intptr_t > &map)
 
std::unordered_set< std::string > Cache::readFileIntoSet (const std::filesystem::path &filename)