FFileStatData

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

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "GenericPlatform/GenericPlatformFile.h"

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
)

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