MCPcopy Create free account
hub / github.com/Illation/ETEngine / Set

Method Set

Engine/source/EtCore/Hashing/HashString.cpp:102–109  ·  view source on GitHub ↗

----------------- HashString::Set hash the string and register it in the DB in non shipping builds

Source from the content-addressed store, hash-verified

100// hash the string and register it in the DB in non shipping builds
101//
102void HashString::Set(char const* const source)
103{
104 m_Hash = GetHash(source);
105
106#if ET_HASH_STRING_ENABLED
107 s_GlobalHashStringRegistry->Register(m_Hash, source);
108#endif
109}
110
111
112// debug

Callers

nothing calls this directly

Calls 1

RegisterMethod · 0.80

Tested by

no test coverage detected