UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FFileStatData Struct Reference

#include <GenericPlatformFile.h>

Public Member Functions

 FFileStatData ()
 
 FFileStatData (FDateTime InCreationTime, FDateTime InAccessTime, FDateTime InModificationTime, const int64 InFileSize, const bool InIsDirectory, const bool InIsReadOnly)
 

Public Attributes

FDateTime CreationTime
 
FDateTime AccessTime
 
FDateTime ModificationTime
 
int64 FileSize
 
bool bIsDirectory: 1
 
bool bIsReadOnly: 1
 
bool bIsValid: 1
 

Detailed Description

Contains the information that's returned from stat'ing a file or directory

Constructor & Destructor Documentation

◆ FFileStatData() [1/2]

FFileStatData::FFileStatData ( )
inline

◆ FFileStatData() [2/2]

FFileStatData::FFileStatData ( FDateTime  InCreationTime,
FDateTime  InAccessTime,
FDateTime  InModificationTime,
const int64  InFileSize,
const bool  InIsDirectory,
const bool  InIsReadOnly 
)
inline

Member Data Documentation

◆ AccessTime

FDateTime FFileStatData::AccessTime

The time that the file or directory was last accessed, or FDateTime::MinValue if the access time is unknown

◆ bIsDirectory

bool FFileStatData::bIsDirectory

True if this data is for a directory, false if it's for a file

◆ bIsReadOnly

bool FFileStatData::bIsReadOnly

True if this file is read-only

◆ bIsValid

bool FFileStatData::bIsValid

True if file or directory was found, false otherwise. Note that this value being true does not ensure that the other members are filled in with meaningful data, as not all file systems have access to all of this data

◆ CreationTime

FDateTime FFileStatData::CreationTime

The time that the file or directory was originally created, or FDateTime::MinValue if the creation time is unknown

◆ FileSize

int64 FFileStatData::FileSize

Size of the file (in bytes), or -1 if the file size is unknown

◆ ModificationTime

FDateTime FFileStatData::ModificationTime

The time the the file or directory was last modified, or FDateTime::MinValue if the modification time is unknown


The documentation for this struct was generated from the following file: