IPlatformFile::CopyDirectoryTree

Override Hierarchy

Syntax

virtual bool CopyDirectoryTree
(
    const TCHAR * DestinationDirectory,
    const TCHAR * Source,
    bool bOverwriteAllExisting
)

Remarks

Copy a file or a hierarchy of files (directory).

Returns

true if operation completed successfully.

Parameters

Parameter

Description

DestinationDirectory

Target path (either absolute or relative) to copy to - always a directory! (e.g. "/home/dest/").

Source

Source file (or directory) to copy (e.g. "/home/source/stuff").

bOverwriteAllExisting

Whether to overwrite everything that exists at target

References

Module

Core

Header

Runtime/Core/Public/GenericPlatform/GenericPlatformFile.h

Source

Runtime/Core/Private/GenericPlatform/GenericPlatformFile.cpp