common: fs: fs_util: Move PathToUTF8String to fs_util
This commit is contained in:
parent
6545556483
commit
02fcdf1a4a
4 changed files with 14 additions and 15 deletions
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue