You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rb Zousar.Shaker #rnx [FYI] Danny.Couture #ROBOMERGE-AUTHOR: devin.doucette #ROBOMERGE-SOURCE: CL 17872207 in //UE5/Release-5.0/... via CL 17872235 #ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v883-17842818) #ROBOMERGE[STARSHIP]: UE5-Main [CL 17874113 by devin doucette in ue5-release-engine-test branch]
36 lines
1.1 KiB
C++
36 lines
1.1 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreTypes.h"
|
|
#include "Containers/StringFwd.h"
|
|
#include "Misc/AsciiSet.h"
|
|
|
|
class FDerivedDataCacheInterface;
|
|
|
|
namespace UE::DerivedData { class FCacheRecord; }
|
|
namespace UE::DerivedData { class ICache; }
|
|
namespace UE::DerivedData { struct FCacheKey; }
|
|
|
|
namespace UE::DerivedData::Private
|
|
{
|
|
|
|
// Implemented in DerivedDataCache.cpp
|
|
ICache* CreateCache(FDerivedDataCacheInterface** OutLegacyCache);
|
|
|
|
// Implemented in DerivedDataCacheRecord.cpp
|
|
uint64 GetCacheRecordCompressedSize(const FCacheRecord& Record);
|
|
uint64 GetCacheRecordTotalRawSize(const FCacheRecord& Record);
|
|
uint64 GetCacheRecordRawSize(const FCacheRecord& Record);
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
template <typename CharType>
|
|
inline bool IsValidCacheBucketName(TStringView<CharType> Name)
|
|
{
|
|
constexpr FAsciiSet Valid("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789");
|
|
return !Name.IsEmpty() && Name.Len() < 256 && FAsciiSet::HasOnly(Name, Valid);
|
|
}
|
|
|
|
} // UE::DerivedData::Private
|