fs: implement DeleteDirectoryRecursively

This commit is contained in:
wwylele committed 2016-10-02 11:29:16 +08:00
1 parent 0dbc73270c
commit b2fa64ec75
8 files changed
+70 -1

No files matched your search

+4
View File
@@ -51,6 +51,10 @@ bool DiskArchive::DeleteDirectory(const Path& path) const {
return FileUtil::DeleteDir(mount_point + path.AsString());
}
bool DiskArchive::DeleteDirectoryRecursively(const Path& path) const {
return FileUtil::DeleteDirRecursively(mount_point + path.AsString());
}
ResultCode DiskArchive::CreateFile(const FileSys::Path& path, u64 size) const {
std::string full_path = mount_point + path.AsString();