File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ namespace geode::utils::string {
51
51
// / Convert path to UTF-8 string
52
52
// / @param path filesystem path
53
53
// / @return UTF-8 encoded std::string
54
- GEODE_DLL std::string pathToUtf8 (std::filesystem::path const & path);
54
+ GEODE_DLL std::string pathToString (std::filesystem::path const & path);
55
55
56
56
GEODE_DLL std::string& toLowerIP (std::string& str);
57
57
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ Result<std::u32string> utils::string::utf8ToUtf32(std::string_view str) {
63
63
return Ok (std::move (result));
64
64
}
65
65
66
- std::string utils::string::pathToUtf8 (std::filesystem::path const & path) {
66
+ std::string utils::string::pathToString (std::filesystem::path const & path) {
67
67
#ifdef GEODE_IS_WINDOWS
68
68
return utils::string::wideToUtf8 (path.wstring ());
69
69
#else
You can’t perform that action at this time.
0 commit comments