Functions | |
| void | setBinPath (std::filesystem::path bin_path) |
| Set the BIN_PATH variable to the path of the binary directory. | |
| std::filesystem::path | getBinPath () |
| std::filesystem::path | getStoragePath () |
| std::filesystem::path | getResourcesPath () |
| std::filesystem::path | getLogsPath () |
| std::filesystem::path | getPTPath () |
| std::optional< std::string > | loadTextFile (std::filesystem::path path) |
| std::optional< std::vector< std::byte > > | loadBinaryFile (std::filesystem::path path) |
| std::filesystem::path dcn::file::getBinPath | ( | ) |
| std::filesystem::path dcn::file::getLogsPath | ( | ) |
| std::filesystem::path dcn::file::getPTPath | ( | ) |
| std::filesystem::path dcn::file::getResourcesPath | ( | ) |
| std::filesystem::path dcn::file::getStoragePath | ( | ) |
| std::optional< std::vector< std::byte > > dcn::file::loadBinaryFile | ( | std::filesystem::path | path | ) |
| std::optional< std::string > dcn::file::loadTextFile | ( | std::filesystem::path | path | ) |
| void dcn::file::setBinPath | ( | std::filesystem::path | bin_path | ) |
Set the BIN_PATH variable to the path of the binary directory.
| bin_path | The path of the binary directory. |