2022-03-19 18:06:00 -04:00
|
|
|
#pragma once
|
|
|
|
|
2022-07-16 18:31:15 -04:00
|
|
|
#include "updater.hpp"
|
|
|
|
|
2022-03-19 18:06:00 -04:00
|
|
|
namespace filesystem
|
|
|
|
{
|
|
|
|
std::string read_file(const std::string& path);
|
2022-04-28 16:41:29 -04:00
|
|
|
bool read_file(const std::string& path, std::string* data, std::string* real_path = nullptr);
|
2022-07-14 20:02:50 -04:00
|
|
|
|
|
|
|
void register_path(const std::filesystem::path& path);
|
|
|
|
void unregister_path(const std::filesystem::path& path);
|
|
|
|
|
|
|
|
std::vector<std::string> get_search_paths();
|
2022-07-19 13:42:59 -04:00
|
|
|
std::vector<std::string> get_search_paths_rev();
|
|
|
|
}
|