IFileHandle::Flush

Flushes file handle to disk.

Windows
MacOS
Linux

Override Hierarchy

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformFile.h

Include

#include "GenericPlatform/GenericPlatformFile.h"

Syntax

bool Flush
(
    const bool bFullFlush
)

Remarks

Flushes file handle to disk.

Returns

true if operation completed successfully.

Parameters

Parameter

Description

bFullFlush

true to flush everything about the file (including its meta-data) with a strong guarantee that it will be on disk by the time this function returns, or false to let the operating/file system have more leeway about when the data actually gets written to disk

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