summaryrefslogtreecommitdiff
path: root/Source/Core/Common/FileUtil.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/Common/FileUtil.h')
-rw-r--r--Source/Core/Common/FileUtil.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/Core/Common/FileUtil.h b/Source/Core/Common/FileUtil.h
index 37bced5a68..4fd2d950f5 100644
--- a/Source/Core/Common/FileUtil.h
+++ b/Source/Core/Common/FileUtil.h
@@ -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
{