You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
FCacheBucket is now always exposed as FAnsiStringView. #rb Zousar.Shaker #rnx #ROBOMERGE-SOURCE: CL 17084521 in //UE5/Main/... #ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v853-17066230) [CL 17084549 by devin doucette in ue5-release-engine-test branch]
29 lines
822 B
C++
29 lines
822 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "Containers/StringFwd.h"
|
|
#include "Misc/AsciiSet.h"
|
|
|
|
class FDerivedDataCacheInterface;
|
|
|
|
namespace UE::DerivedData { class ICache; }
|
|
namespace UE::DerivedData { struct FCacheKey; }
|
|
|
|
namespace UE::DerivedData::Private
|
|
{
|
|
|
|
// Implemented in DerivedDataCache.cpp
|
|
ICache* CreateCache(FDerivedDataCacheInterface** OutLegacyCache);
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
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
|