2024-10-08 02:29:00 +00:00
|
|
|
#ifndef FSUTILS_H
|
|
|
|
#define FSUTILS_H
|
|
|
|
|
|
|
|
#include <filesystem>
|
2024-11-04 00:00:00 +00:00
|
|
|
#include <string>
|
|
|
|
|
|
|
|
#include "char_defs.h"
|
2024-10-08 02:29:00 +00:00
|
|
|
|
|
|
|
bool filepath_is_readable(const std::filesystem::path &path);
|
|
|
|
|
|
|
|
std::filesystem::path find_resource_file(const std::filesystem::path &path);
|
|
|
|
|
2024-11-04 00:00:00 +00:00
|
|
|
std::string path_to_u8string(const std::filesystem::path &path);
|
|
|
|
|
|
|
|
StringType path_to_string_type(const std::filesystem::path &path);
|
|
|
|
|
|
|
|
StringType to_string_type(int value);
|
2024-10-08 02:29:00 +00:00
|
|
|
|
|
|
|
#endif // FSUTILS_H
|