7#include <spdlog/spdlog.h>
26 std::optional<std::string>
loadTextFile(std::filesystem::path path);
28 std::optional<std::vector<std::byte>>
loadBinaryFile(std::filesystem::path path);
Definition decentralised_art.hpp:30
std::filesystem::path getStoragePath()
Definition file.cpp:27
std::filesystem::path getLogsPath()
Definition file.cpp:32
std::optional< std::vector< std::byte > > loadBinaryFile(std::filesystem::path path)
Definition file.cpp:66
std::optional< std::string > loadTextFile(std::filesystem::path path)
Definition file.cpp:42
void setBinPath(std::filesystem::path bin_path)
Set the BIN_PATH variable to the path of the binary directory.
Definition file.cpp:12
std::filesystem::path getPTPath()
Definition file.cpp:37
std::filesystem::path getBinPath()
Definition file.cpp:17
std::filesystem::path getResourcesPath()
Definition file.cpp:22