diff options
| author | bunnei <bunneidev@gmail.com> | 2016-10-03 20:34:56 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-03 20:34:56 -0400 |
| commit | 7ed97fb89aa8cfe39a36f1958de61e69b2e5026c (patch) | |
| tree | 779a58d37d20674d97b648b9546413c1ce8f7d6a /src/core/file_sys/archive_backend.h | |
| parent | 49b10339bf87ce69dafee78eb3957fb6d51424d8 (diff) | |
| parent | 257e7afb79293012afed68ea21703dcf51b7d78a (diff) | |
Merge pull request #2106 from wwylele/delete-recursive
FS: implement DeleteDirectoryRecursively
Diffstat (limited to 'src/core/file_sys/archive_backend.h')
| -rw-r--r-- | src/core/file_sys/archive_backend.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/file_sys/archive_backend.h b/src/core/file_sys/archive_backend.h index d69c3c785..06b8f2ed7 100644 --- a/src/core/file_sys/archive_backend.h +++ b/src/core/file_sys/archive_backend.h @@ -112,6 +112,13 @@ public: virtual bool DeleteDirectory(const Path& path) const = 0; /** + * Delete a directory specified by its path and anything under it + * @param path Path relative to the archive + * @return Whether the directory could be deleted + */ + virtual bool DeleteDirectoryRecursively(const Path& path) const = 0; + + /** * Create a file specified by its path * @param path Path relative to the Archive * @param size The size of the new file, filled with zeroes |
