MCPcopy Create free account
hub / github.com/comaps/comaps / LastTokenIsPrefix

Method LastTokenIsPrefix

libs/search/query_params.hpp:107–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105 size_t GetNumTokens() const { return m_hasPrefix ? m_tokens.size() + 1 : m_tokens.size(); }
106
107 bool LastTokenIsPrefix() const { return m_hasPrefix; }
108
109 bool IsEmpty() const { return GetNumTokens() == 0; }
110 void Clear();

Callers 1

GetTopLocalitiesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected