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

Method SkipPrefix

util/generic/strbuf.h:360–362  ·  view source on GitHub ↗

returns true if string started with `prefix`, false otherwise

Source from the content-addressed store, hash-verified

358
359 // returns true if string started with `prefix`, false otherwise
360 inline bool SkipPrefix(const TdSelf& prefix) noexcept {
361 return AfterPrefix(prefix, *this);
362 }
363
364 // returns true if string ended with `suffix`, false otherwise
365 inline bool ChopSuffix(const TdSelf& suffix) noexcept {

Callers 2

SplitUrlToHostAndPathFunction · 0.80
Y_UNIT_TESTFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected