Common/FileUtil: Revert behavior of CreateFullPath().

This was accidentally changed in 7e6436db34.
This commit is contained in:
Admiral H. Curtiss 2023-02-15 02:13:47 +01:00
commit 0758e00cfe
No known key found for this signature in database
GPG key ID: F051B4C4044F33FB
2 changed files with 6 additions and 5 deletions

View file

@ -143,8 +143,10 @@ u64 GetSize(FILE* f);
// Returns true if successful, or path already exists.
bool CreateDir(const std::string& filename);
// Creates the full path of fullPath returns true on success
bool CreateFullPath(const std::string& fullPath);
// Creates the full path to the file given in fullPath.
// That is, for path '/a/b/c.bin', creates folders '/a' and '/a/b'.
// Returns true if creation is successful or if the path already exists.
bool CreateFullPath(std::string_view fullPath);
enum class IfAbsentBehavior
{