FCachedFileHandle::Flush

Flushes file handle to disk.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

IFileHandle::Flush()

FCachedFileHandle::Flush()

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/HAL/IPlatformFileCachedWrapper.h

Include

#include "HAL/IPlatformFileCachedWrapper.h"

Syntax

virtual 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