FFileStatData

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

Windows
MacOS
Linux

Syntax

struct FFileStatData

Remarks

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

Variables

Name Description

Public variable

FDateTime

 

AccessTime

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

Public variable

bool: 1

 

bIsDirectory

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

Public variable

bool: 1

 

bIsReadOnly

True if this file is read-only

Public variable

bool: 1

 

bIsValid

True if file or directory was found, false otherwise.

Public variable

FDateTime

 

CreationTime

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

Public variable

int64

 

FileSize

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

Public variable

FDateTime

 

ModificationTime

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

Constructors

Name Description

Public function

FFileStatData()

Public function

FFileStatData

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

References

Module

Core

Header

Runtime/Core/Public/GenericPlatform/GenericPlatformFile.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback