common: fs: fs_util: Move PathToUTF8String to fs_util

This commit is contained in:
Morph 2021-06-01 09:22:18 -04:00
parent 6545556483
commit 02fcdf1a4a
4 changed files with 14 additions and 15 deletions

View file

@ -25,15 +25,6 @@ enum class YuzuPath {
ShaderDir, // Where shaders are stored.
};
/**
* Converts a filesystem path to a UTF-8 encoded std::string.
*
* @param path Filesystem path
*
* @returns UTF-8 encoded std::string.
*/
[[nodiscard]] std::string PathToUTF8String(const std::filesystem::path& path);
/**
* Validates a given path.
*