UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::AssetDataGather::Private::FCachedVolumeInfo Class Reference

#include <AssetDataGathererDiscoveryCache.h>

Public Member Functions

void ConditionalConstruct (const FString &InVolumeName)
 
void PreSave ()
 
void InitializePlatformData ()
 
FCachedDirScanDirFindOrAddDir (FStringView InPath)
 
FCachedDirScanDirFindOrAddDir (FStringView InPath, bool &bOutAdded)
 
void RemoveDirs (TArray< FString > &&InPaths)
 
FCachedDirScanDirFindDir (FStringView Path)
 

Public Attributes

TMap< FString, FCachedDirScanDirDirs
 
FString VolumeName
 
FFileJournalId JournalId = FileJournalIdInvalid
 
FFileJournalEntryHandle NextJournalEntryToScan = FileJournalEntryHandleInvalid
 
TArray< FString > DirsToRemove
 
FString LastError
 
FFileJournalId JournalIdOnDisk = FileJournalIdInvalid
 
FFileJournalEntryHandle NextJournalEntryOnDisk = FileJournalEntryHandleInvalid
 
uint64 JournalMaximumSize = 0
 
bool bJournalAvailable = false
 

Detailed Description

Data about a volume used by FAssetDataDiscoveryCache to avoid the IO cost of rescanning directories on the volume.

Member Function Documentation

◆ ConditionalConstruct()

void UE::AssetDataGather::Private::FCachedVolumeInfo::ConditionalConstruct ( const FString &  InVolumeName)

◆ FindDir()

FCachedDirScanDir * UE::AssetDataGather::Private::FCachedVolumeInfo::FindDir ( FStringView  Path)

Assumes Path has already been normalized.

◆ FindOrAddDir() [1/2]

FCachedDirScanDir & UE::AssetDataGather::Private::FCachedVolumeInfo::FindOrAddDir ( FStringView  InPath)

Assumes Path has already been normalized.

◆ FindOrAddDir() [2/2]

FCachedDirScanDir & UE::AssetDataGather::Private::FCachedVolumeInfo::FindOrAddDir ( FStringView  InPath,
bool bOutAdded 
)

◆ InitializePlatformData()

void UE::AssetDataGather::Private::FCachedVolumeInfo::InitializePlatformData ( )

◆ PreSave()

void UE::AssetDataGather::Private::FCachedVolumeInfo::PreSave ( )

◆ RemoveDirs()

void UE::AssetDataGather::Private::FCachedVolumeInfo::RemoveDirs ( TArray< FString > &&  InPaths)

Member Data Documentation

◆ bJournalAvailable

bool UE::AssetDataGather::Private::FCachedVolumeInfo::bJournalAvailable = false

◆ Dirs

TMap<FString, FCachedDirScanDir> UE::AssetDataGather::Private::FCachedVolumeInfo::Dirs

◆ DirsToRemove

TArray<FString> UE::AssetDataGather::Private::FCachedVolumeInfo::DirsToRemove

Directories that we marked for recursive removal from CachedVolumes; we consume this during WriteCacheFile.

◆ JournalId

FFileJournalId UE::AssetDataGather::Private::FCachedVolumeInfo::JournalId = FileJournalIdInvalid

◆ JournalIdOnDisk

FFileJournalId UE::AssetDataGather::Private::FCachedVolumeInfo::JournalIdOnDisk = FileJournalIdInvalid

◆ JournalMaximumSize

uint64 UE::AssetDataGather::Private::FCachedVolumeInfo::JournalMaximumSize = 0

◆ LastError

FString UE::AssetDataGather::Private::FCachedVolumeInfo::LastError

◆ NextJournalEntryOnDisk

FFileJournalEntryHandle UE::AssetDataGather::Private::FCachedVolumeInfo::NextJournalEntryOnDisk = FileJournalEntryHandleInvalid

◆ NextJournalEntryToScan

FFileJournalEntryHandle UE::AssetDataGather::Private::FCachedVolumeInfo::NextJournalEntryToScan = FileJournalEntryHandleInvalid

◆ VolumeName

FString UE::AssetDataGather::Private::FCachedVolumeInfo::VolumeName

The documentation for this class was generated from the following files: