MCPcopy Create free account
hub / github.com/aiekick/ImGuiFileDialog / stringToPath

Function stringToPath

ImGuiFileDialog.cpp:441–447  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

439#ifdef USE_STD_FILESYSTEM
440
441static 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
449static std::string pathToString(const std::filesystem::path& path) {
450#ifdef _IGFD_WIN_

Callers 7

IsDirectoryExistMethod · 0.85
IsFileExistMethod · 0.85
ParsePathFileNameMethod · 0.85
ScanDirectoryMethod · 0.85
IsDirectoryMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected