MCPcopy Create free account
hub / github.com/catboost/catboost / MakeNormalized

Function MakeNormalized

library/cpp/string_utils/url/url.cpp:100–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98 }
99
100 TString MakeNormalized(const TStringBuf url) {
101 TStringBuf urlCut = CutHttpWwwPrefixes(url);
102 if (HasLowerHost(urlCut)) {
103 return ToString(urlCut);
104 }
105 return MakeLowerHost(urlCut);
106 }
107
108} // namespace NUrl
109

Callers

nothing calls this directly

Calls 4

CutHttpWwwPrefixesFunction · 0.85
HasLowerHostFunction · 0.85
MakeLowerHostFunction · 0.85
ToStringFunction · 0.50

Tested by

no test coverage detected