Files
comaps/libs/search/base/text_index/text_index.cpp
Alexander Borsuk 76ffc99abd New cpp folder structure
Signed-off-by: Alexander Borsuk <me@alex.bio>
2025-08-14 20:52:04 +07:00

22 lines
453 B
C++

#include "search/base/text_index/text_index.hpp"
#include "base/assert.hpp"
#include "base/string_utils.hpp"
using namespace std;
namespace search_base
{
string DebugPrint(TextIndexVersion const & version)
{
switch (version)
{
case TextIndexVersion::V0: return "V0";
}
string ret =
"Unknown TextIndexHeader version: " + strings::to_string(static_cast<uint8_t>(version));
ASSERT(false, (ret));
return ret;
}
} // namespace search