You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Still plenty of missing features: * Content-defined chunking * Caching * Hashing and deduplication of nodes through BlobWriter * Writing of aliases and refs through BlobWriter * HTTP client [CL 30022723 by ben marsh in ue5-main branch]
32 lines
533 B
C++
32 lines
533 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "Storage/RefName.h"
|
|
|
|
FRefName::FRefName(FUtf8String InText)
|
|
: Text(MoveTemp(InText))
|
|
{
|
|
}
|
|
FRefName::~FRefName()
|
|
{
|
|
}
|
|
|
|
const FUtf8String& FRefName::GetText() const
|
|
{
|
|
return Text;
|
|
}
|
|
|
|
bool FRefName::operator==(const FRefName& Other) const
|
|
{
|
|
return Text.Equals(Other.Text, ESearchCase::CaseSensitive);
|
|
}
|
|
|
|
bool FRefName::operator!=(const FRefName& Other) const
|
|
{
|
|
return !(*this == Other);
|
|
}
|
|
|
|
uint32 GetTypeHash(const FRefName& RefName)
|
|
{
|
|
return GetTypeHash(RefName.Text);
|
|
}
|