diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-12-12 02:22:01 +0100 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-12-12 02:24:22 +0100 |
commit | 8941cdb7d2355ba0f3084b306165923520f9db65 (patch) | |
tree | a3a2c67a83080b4693096474852d8b72a1a95c4c /src/common/file_util.h | |
parent | Revert "Merge pull request #5176 from Morph1984/fix-createfile" (diff) | |
download | yuzu-8941cdb7d2355ba0f3084b306165923520f9db65.tar yuzu-8941cdb7d2355ba0f3084b306165923520f9db65.tar.gz yuzu-8941cdb7d2355ba0f3084b306165923520f9db65.tar.bz2 yuzu-8941cdb7d2355ba0f3084b306165923520f9db65.tar.lz yuzu-8941cdb7d2355ba0f3084b306165923520f9db65.tar.xz yuzu-8941cdb7d2355ba0f3084b306165923520f9db65.tar.zst yuzu-8941cdb7d2355ba0f3084b306165923520f9db65.zip |
Diffstat (limited to 'src/common/file_util.h')
-rw-r--r-- | src/common/file_util.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/common/file_util.h b/src/common/file_util.h index cf006cc9d..c2ee7ca27 100644 --- a/src/common/file_util.h +++ b/src/common/file_util.h @@ -54,14 +54,8 @@ enum class UserPath { // Returns true if successful, or path already exists. bool CreateDir(const std::filesystem::path& path); -// Create all directories in path -// Returns true if successful, or path already exists. -[[nodiscard("Directory creation can fail and must be tested")]] bool CreateDirs( - const std::filesystem::path& path); - -// Creates directories in path. Returns true on success. -[[deprecated("This function is deprecated, use CreateDirs")]] bool CreateFullPath( - const std::filesystem::path& path); +// Creates the full path of path. Returns true on success +bool CreateFullPath(const std::filesystem::path& path); // Deletes a given file at the path. // This will also delete empty directories. |