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

Function LooksLikePostcode

libs/indexer/postcodes_matcher.cpp:99–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97} // namespace
98
99bool LooksLikePostcode(StringSliceBase const & slice, bool isPrefix)
100{
101 return GetPostcodesMatcher().HasString(slice, isPrefix);
102}
103
104bool LooksLikePostcode(string_view sv, bool isPrefix)
105{

Callers 5

InsertPostcodesFunction · 0.85
SearchPostcodeMethod · 0.85
WithPostcodesMethod · 0.85
ValidatePostCodeMethod · 0.85
UNIT_TESTFunction · 0.85

Calls 3

StringSliceClass · 0.85
HasStringMethod · 0.45

Tested by 1

UNIT_TESTFunction · 0.68