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

Function GetSchemePrefix

library/cpp/string_utils/url/url.cpp:156–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156TStringBuf GetSchemePrefix(const TStringBuf url Y_LIFETIME_BOUND) noexcept {
157 return url.Head(GetSchemePrefixSize(url));
158}
159
160TStringBuf CutSchemePrefix(const TStringBuf url Y_LIFETIME_BOUND) noexcept {
161 return url.Tail(GetSchemePrefixSize(url));

Callers 1

Y_UNIT_TESTFunction · 0.85

Calls 2

GetSchemePrefixSizeFunction · 0.85
HeadMethod · 0.45

Tested by

no test coverage detected