Files
ben marsh 7a2bb1ff3d Horde: Initial port of EpicGames.Horde storage library to C++.
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]
2023-11-30 15:43:35 -05:00

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);
}