FGenericPlatformMisc::GetDiskTotalAndFreeSpace

Retrieves information about the total number of bytes and number of free bytes for the specified disk path.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "GenericPlatform/GenericPlatformMisc.h"

Source

/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformMisc.cpp

Syntax

static bool GetDiskTotalAndFreeSpace
(
    const FString & InPath,
    uint64 & TotalNumberOfBytes,
    uint64 & NumberOfFreeBytes
)

Remarks

Retrieves information about the total number of bytes and number of free bytes for the specified disk path.

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