#include <API/Base.h>
#include "Logger/Logger.h"
#include <unordered_map>
#include <unordered_set>
#include <filesystem>
#include <iostream>
#include <fstream>
Go to the source code of this file.
|
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) |
|
template<typename T > |
void | Cache::serializeMap (const std::unordered_map< std::string, T > &data, const std::filesystem::path &filename) |
|
template<typename T > |
std::unordered_map< std::string, T > | Cache::deserializeMap (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) |
|