FStreamingNetworkPlatformFile::DeleteDirectoryRecursively

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

Windows
MacOS
Linux

Override Hierarchy

IPlatformFile::DeleteDirectoryRecursively()

FNetworkPlatformFile::DeleteDirectoryRecursively()

FStreamingNetworkPlatformFile::DeleteDirectoryRecursively()

References

Module

StreamingFile

Header

/Engine/Source/Runtime/StreamingFile/Public/StreamingNetworkPlatformFile.h

Include

#include "StreamingNetworkPlatformFile.h"

Source

/Engine/Source/Runtime/StreamingFile/Private/StreamingNetworkPlatformFile.cpp

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss