5#include "Containers/Array.h"
6#include "Containers/Map.h"
157 bool TryReadCacheFile();
159 void SerializeWriteCacheFile(
FArchive& Ar);
172 bool bInitialized =
false;
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define ENUM_CLASS_FLAGS(Enum)
Definition EnumClassFlags.h:6
Definition Archive.h:1208
Definition UnrealString.h.inl:34
Definition MpscQueue.h:18
Definition SortedMap.h:20
Definition AssetDataGathererDiscoveryCache.h:132
FCachedVolumeInfo * FindVolume(FStringView PathOrVolumeName)
Definition AssetDataGathererDiscoveryCache.cpp:416
FString GetCacheFileName() const
Definition AssetDataGathererDiscoveryCache.cpp:36
void Shutdown()
Definition AssetDataGathererDiscoveryCache.cpp:360
void QueueAdd(FString DirName, FCachedDirScanDir DirData)
Definition AssetDataGathererDiscoveryCache.cpp:565
EFeatureEnabled IsWriteEnabled() const
Definition AssetDataGathererDiscoveryCache.h:137
void SaveCache()
Definition AssetDataGathererDiscoveryCache.cpp:236
void RemoveDir(FStringView Path)
Definition AssetDataGathererDiscoveryCache.cpp:402
FCachedDirScanDir * FindDir(FStringView Path, FCachedVolumeInfo **OutVolume=nullptr)
Definition AssetDataGathererDiscoveryCache.cpp:426
void LoadAndUpdateCache()
Definition AssetDataGathererDiscoveryCache.cpp:42
FCachedDirScanDir & FindOrAddDir(FStringView Path, FCachedVolumeInfo **OutVolume=nullptr)
Definition AssetDataGathererDiscoveryCache.cpp:392
FCachedVolumeInfo & FindOrAddVolume(FStringView PathOrVolumeName)
Definition AssetDataGathererDiscoveryCache.cpp:377
void QueueConsume()
Definition AssetDataGathererDiscoveryCache.cpp:490
bool IsInitialized() const
Definition AssetDataGathererDiscoveryCache.h:136
Definition AssetDataGathererDiscoveryCache.h:91
void ConditionalConstruct(const FString &InVolumeName)
Definition AssetDataGathererDiscoveryCache.cpp:583
bool bJournalAvailable
Definition AssetDataGathererDiscoveryCache.h:118
TArray< FString > DirsToRemove
Definition AssetDataGathererDiscoveryCache.h:113
FCachedDirScanDir & FindOrAddDir(FStringView InPath)
Definition AssetDataGathererDiscoveryCache.cpp:624
FFileJournalId JournalIdOnDisk
Definition AssetDataGathererDiscoveryCache.h:115
FFileJournalEntryHandle NextJournalEntryOnDisk
Definition AssetDataGathererDiscoveryCache.h:116
TMap< FString, FCachedDirScanDir > Dirs
Definition AssetDataGathererDiscoveryCache.h:106
void PreSave()
Definition AssetDataGathererDiscoveryCache.cpp:593
FCachedDirScanDir * FindDir(FStringView Path)
Definition AssetDataGathererDiscoveryCache.cpp:660
void InitializePlatformData()
Definition AssetDataGathererDiscoveryCache.cpp:598
uint64 JournalMaximumSize
Definition AssetDataGathererDiscoveryCache.h:117
FFileJournalId JournalId
Definition AssetDataGathererDiscoveryCache.h:108
void RemoveDirs(TArray< FString > &&InPaths)
Definition AssetDataGathererDiscoveryCache.cpp:642
FString LastError
Definition AssetDataGathererDiscoveryCache.h:114
FString VolumeName
Definition AssetDataGathererDiscoveryCache.h:107
FFileJournalEntryHandle NextJournalEntryToScan
Definition AssetDataGathererDiscoveryCache.h:109
Definition AssetDataGatherer.cpp:50
FArchive & operator<<(FArchive &Ar, FCachedVolumeInfo &Data)
Definition AssetDataGathererDiscoveryCache.cpp:666
EFeatureEnabled
Definition AssetDataGathererDiscoveryCache.h:20
void LexFromString(EFeatureEnabledReadWrite &OutValue, FStringView Text)
Definition AssetDataGatherer.cpp:64
EFeatureEnabledReadWrite
Definition AssetDataGathererDiscoveryCache.h:27
@ DefaultWriteDefaultRead
constexpr const TCHAR * GEmptyVolumeName
Definition AssetDataGathererDiscoveryCache.h:177
Definition GenericPlatformFile.h:257
Definition Optional.h:131
Definition AssetDataGathererDiscoveryCache.h:62
FFileJournalFileHandle JournalHandle
Definition AssetDataGathererDiscoveryCache.h:65
TOptional< bool > bIsInsideReparsePoint
Definition AssetDataGathererDiscoveryCache.h:77
bool bCacheValid
Definition AssetDataGathererDiscoveryCache.h:66
TArray< FString > SubDirRelPaths
Definition AssetDataGathererDiscoveryCache.h:63
TOptional< bool > bIsReparsePoint
Definition AssetDataGathererDiscoveryCache.h:72
TArray< FCachedDirScanFile > Files
Definition AssetDataGathererDiscoveryCache.h:64
Definition AssetDataGathererDiscoveryCache.h:53
bool bIsReadOnly
Definition AssetDataGathererDiscoveryCache.h:56
FString RelPath
Definition AssetDataGathererDiscoveryCache.h:54
FDateTime ModificationTime
Definition AssetDataGathererDiscoveryCache.h:55
Definition AssetDataGathererDiscoveryCache.h:83
TOptional< bool > bIsReparsePoint
Definition AssetDataGathererDiscoveryCache.h:86
FString DirNameAbsPath
Definition AssetDataGathererDiscoveryCache.h:84
FFileJournalFileHandle JournalHandle
Definition AssetDataGathererDiscoveryCache.h:85