FPakPlatformFile::DeleteDirectoryRecursively

Delete all files and subdirectories in a directory, then delete the directory itself

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

IPlatformFile::DeleteDirectoryRecursively()

FPakPlatformFile::DeleteDirectoryRecursively()

References

Module

PakFile

Header

/Engine/Source/Runtime/PakFile/Public/IPlatformFilePak.h

Include

#include "IPlatformFilePak.h"

Syntax

virtual bool DeleteDirectoryRecursively
(
    const TCHAR * Directory
)

Remarks

Delete all files and subdirectories in a directory, then delete the directory itself

Returns

true if the directory was deleted or did not exist.

Parameters

Parameter

Description

Directory

The directory to delete.