mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-14 11:47:59 -05:00
common: fs: fs_util: Move PathToUTF8String to fs_util
This commit is contained in:
@ -20,4 +20,8 @@ std::string ToUTF8String(std::u8string_view u8_string) {
|
||||
return std::string{u8_string.begin(), u8_string.end()};
|
||||
}
|
||||
|
||||
std::string PathToUTF8String(const std::filesystem::path& path) {
|
||||
return ToUTF8String(path.u8string());
|
||||
}
|
||||
|
||||
} // namespace Common::FS
|
||||
|
Reference in New Issue
Block a user