| 439 | #ifdef USE_STD_FILESYSTEM |
| 440 | |
| 441 | static std::filesystem::path stringToPath(const std::string& str) { |
| 442 | #ifdef _IGFD_WIN_ |
| 443 | return std::filesystem::path(IGFD::Utils::UTF8Decode(str)); |
| 444 | #else |
| 445 | return std::filesystem::path(str); |
| 446 | #endif |
| 447 | } |
| 448 | |
| 449 | static std::string pathToString(const std::filesystem::path& path) { |
| 450 | #ifdef _IGFD_WIN_ |
no outgoing calls
no test coverage detected