![]() |
HAL
|
#include "hal_core/utilities/utils.h"
#include "hal_core/utilities/log.h"
#include <algorithm>
#include <dirent.h>
#include <fstream>
#include <random>
#include <sstream>
#include <sys/stat.h>
#include <sys/types.h>
Go to the source code of this file.
Namespaces | |
hal | |
hal::utils | |
Functions | |
bool | hal::utils::file_exists (const std::string &filename) |
bool | hal::utils::folder_exists_and_is_accessible (const std::filesystem::path &folder) |
std::filesystem::path | hal::utils::get_binary_directory () |
std::filesystem::path | hal::utils::get_base_directory () |
std::filesystem::path | hal::utils::get_library_directory () |
std::filesystem::path | hal::utils::get_share_directory () |
std::filesystem::path | hal::utils::get_user_share_directory () |
std::filesystem::path | hal::utils::get_config_directory () |
std::filesystem::path | hal::utils::get_user_config_directory () |
std::filesystem::path | hal::utils::get_default_log_directory (std::filesystem::path source_file) |
std::vector< std::filesystem::path > | hal::utils::get_gate_library_directories () |
std::vector< std::filesystem::path > | hal::utils::get_plugin_directories () |
std::filesystem::path | hal::utils::get_first_directory_exists (std::vector< std::filesystem::path > path_hints) |
std::filesystem::path | hal::utils::get_file (std::string file_name, std::vector< std::filesystem::path > path_hints) |
std::filesystem::path | hal::utils::which (const std::string &name, const std::string &path) |
Result< std::filesystem::path > | hal::utils::get_unique_temp_directory (const std::string &prefix, const u32 max_attmeps) |
std::string | hal::utils::get_open_source_licenses () |
Result< u64 > | hal::utils::wrapped_stoull (const std::string &s, const u32 base) |
Result< u32 > | hal::utils::wrapped_stoul (const std::string &s, const u32 base) |