diff options
author | Lioncash <mathew1800@gmail.com> | 2018-11-30 20:44:13 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-12-01 02:17:28 +0100 |
commit | a7d9fe993a3e0e4d939752d2e447cc2b5fdb80f0 (patch) | |
tree | f5932b1a6b6451c41565b9b5a74dfff4f44fb6f0 /src/core/hle/service/filesystem/filesystem.h | |
parent | Merge pull request #1829 from lioncash/lang (diff) | |
download | yuzu-a7d9fe993a3e0e4d939752d2e447cc2b5fdb80f0.tar yuzu-a7d9fe993a3e0e4d939752d2e447cc2b5fdb80f0.tar.gz yuzu-a7d9fe993a3e0e4d939752d2e447cc2b5fdb80f0.tar.bz2 yuzu-a7d9fe993a3e0e4d939752d2e447cc2b5fdb80f0.tar.lz yuzu-a7d9fe993a3e0e4d939752d2e447cc2b5fdb80f0.tar.xz yuzu-a7d9fe993a3e0e4d939752d2e447cc2b5fdb80f0.tar.zst yuzu-a7d9fe993a3e0e4d939752d2e447cc2b5fdb80f0.zip |
Diffstat (limited to 'src/core/hle/service/filesystem/filesystem.h')
-rw-r--r-- | src/core/hle/service/filesystem/filesystem.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/core/hle/service/filesystem/filesystem.h b/src/core/hle/service/filesystem/filesystem.h index 0a6cb6635..278cf90ab 100644 --- a/src/core/hle/service/filesystem/filesystem.h +++ b/src/core/hle/service/filesystem/filesystem.h @@ -114,6 +114,18 @@ public: ResultCode DeleteDirectoryRecursively(const std::string& path) const; /** + * Cleans the specified directory. This is similar to DeleteDirectoryRecursively, + * in that it deletes all the contents of the specified directory, however, this + * function does *not* delete the directory itself. It only deletes everything + * within it. + * + * @param path Path relative to the archive. + * + * @return Result of the operation. + */ + ResultCode CleanDirectoryRecursively(const std::string& path) const; + + /** * Rename a File specified by its path * @param src_path Source path relative to the archive * @param dest_path Destination path relative to the archive |